Skip to content

Commit 7d8ea20

Browse files
committed
Returning a literal true is only supported in PHP 8.2+
1 parent d3e7c16 commit 7d8ea20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wcfsetup/install/files/lib/system/WCF.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ final public static function handleException(\Throwable $e)
365365
* @param int $line
366366
* @throws ErrorException
367367
*/
368-
final public static function handleError($severity, $message, $file, $line): true
368+
final public static function handleError($severity, $message, $file, $line): bool
369369
{
370370
// this is necessary for the shut-up operator
371371
if (!(\error_reporting() & $severity)) {

0 commit comments

Comments
 (0)