diff options
-rw-r--r-- | src/ste/STECore.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ste/STECore.php b/src/ste/STECore.php index 897a77f..a232616 100644 --- a/src/ste/STECore.php +++ b/src/ste/STECore.php @@ -307,11 +307,11 @@ class STECore /** * Test, if a text represents false (an empty / only whitespace text) or true (everything else). * - * @param string $txt The text to test. + * @param mixed $txt The text to test. * * @return bool */ - public function evalbool(string $txt): bool + public function evalbool($txt): bool { return trim(@(string)$txt) != ""; } |