Fix code styling

This commit is contained in:
Sebastian Meyer 2024-03-27 23:08:42 +01:00
parent b7b65c2496
commit 1c1c3c49ad
1 changed files with 2 additions and 6 deletions

View File

@ -52,12 +52,8 @@ class ThrowErrorException
*
* @throws ErrorException if `error_reporting` is set to report the error
*/
public function __invoke(
int $errno = E_USER_ERROR,
string $errstr = '',
?string $errfile = null,
?int $errline = null
): bool {
public function __invoke(int $errno = E_USER_ERROR, string $errstr = '', ?string $errfile = null, ?int $errline = null): bool
{
if ((error_reporting() & $errno) > 0) {
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
}