Skip to content

Commit bc6bbc3

Browse files
committed
Add explicit return type
1 parent 0ab34ba commit bc6bbc3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

system/Debug/Exceptions.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,11 @@ private function isDeprecationError(int $error): bool
344344
return ($error & $deprecations) !== 0;
345345
}
346346

347+
/**
348+
* @noRector \Rector\DeadCode\Rector\ClassMethod\RemoveUselessReturnTagRector
349+
*
350+
* @return true
351+
*/
347352
private function handleDeprecationError(string $message, ?string $file = null, ?int $line = null): bool
348353
{
349354
// Remove the trace of the error handler.

0 commit comments

Comments
 (0)