add stuff necessary to run integration tests using phpunit

This commit is contained in:
Andrew Dolgov
2023-10-28 18:43:47 +03:00
parent 0ac8710ea1
commit 855695a862
8 changed files with 105 additions and 15 deletions

View File

@@ -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");
}