Fix code styling
This commit is contained in:
parent
b7b65c2496
commit
1c1c3c49ad
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue