diff options
author | Andrew Dolgov <[email protected]> | 2023-10-28 18:43:47 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-10-28 18:45:09 +0300 |
commit | 855695a8620a3a5ffada836fd28e04bb912bbd3a (patch) | |
tree | c1e3a4ae29ec9ad7c6180499f28b9f93ed77fac0 /classes/Handler.php | |
parent | 0ac8710ea1b1426bf19bb502ba4921ef35cd1db6 (diff) |
add stuff necessary to run integration tests using phpunit
Diffstat (limited to 'classes/Handler.php')
-rw-r--r-- | classes/Handler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Handler.php b/classes/Handler.php index 5b54570d8..2676632bb 100644 --- a/classes/Handler.php +++ b/classes/Handler.php @@ -28,7 +28,7 @@ class Handler implements IHandler { /** * @param mixed $p */ - protected static function _param_to_bool($p): bool { + public static function _param_to_bool($p): bool { $p = clean($p); return $p && ($p !== "f" && $p !== "false"); } |