mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing E_STRICT error in ConsoleErrorHandler.
This commit is contained in:
parent
7e29859676
commit
843f5c6190
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class ConsoleErrorHandler extends ErrorHandler {
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function handleException($exception) {
|
||||
public static function handleException(Exception $exception) {
|
||||
$stderr = self::getStderr();
|
||||
$stderr->write(sprintf(
|
||||
__("<error>Error:</error> %s\n%s"),
|
||||
|
|
Loading…
Reference in a new issue