summaryrefslogtreecommitdiffstats
path: root/inc/errorhandler.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/errorhandler.inc.php')
-rw-r--r--inc/errorhandler.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/errorhandler.inc.php b/inc/errorhandler.inc.php
index 8e49353c..ce969966 100644
--- a/inc/errorhandler.inc.php
+++ b/inc/errorhandler.inc.php
@@ -1,5 +1,7 @@
<?php
+declare(strict_types=1);
+
use JetBrains\PhpStorm\NoReturn;
class ErrorHandler
@@ -146,6 +148,6 @@ SADFACE;
}
$arg = 'Array(' . count($arg) . ')';
}
- return $arg;
+ return (string)$arg;
}
} \ No newline at end of file