Phan and phpstan fixes
Note that ACL\Login FIXME will be fixed later do not change any current functionality
This commit is contained in:
@@ -25,8 +25,13 @@ declare(strict_types=1);
|
||||
* @return bool True, so cought errors do not get processed
|
||||
* by the PHP error engine
|
||||
*/
|
||||
function MyErrorHandler(int $type, string $message, string $file, int $line, array $context): bool
|
||||
{
|
||||
function MyErrorHandler(
|
||||
int $type,
|
||||
string $message,
|
||||
string $file,
|
||||
int $line,
|
||||
array $context = []
|
||||
): bool {
|
||||
if (!(error_reporting() & $type) && SHOW_ALL_ERRORS == false) {
|
||||
// This error code is not included in error_reporting
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user