mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-04 14:38:16 +00:00
Rector AddParamTypeFromPropertyTypeRector
This commit is contained in:
@@ -10,14 +10,8 @@ class Exception extends PhpSpreadsheetException
|
||||
|
||||
/**
|
||||
* Error handler callback.
|
||||
*
|
||||
* @param mixed $code
|
||||
* @param mixed $string
|
||||
* @param mixed $file
|
||||
* @param mixed $line
|
||||
* @param mixed $context
|
||||
*/
|
||||
public static function errorHandlerCallback($code, $string, $file, $line, /** @scrutinizer ignore-unused */ $context): void
|
||||
public static function errorHandlerCallback(int $code, string $string, string $file, int $line): void
|
||||
{
|
||||
$e = new self($string, $code);
|
||||
$e->line = $line;
|
||||
|
||||
Reference in New Issue
Block a user