Skip to content

Conversation

@xabbuh
Copy link
Contributor

@xabbuh xabbuh commented Oct 6, 2017

The context argument of an error handler is optional. Furthermore, it will be deprecated in PHP 7.2 (see http://www.php.net/manual/en/function.set-error-handler.php).

  • bug fix? yes
  • new feature? no
  • BC break? no
  • doc PR: -

The context argument of an error handler is optional. Furthermore, it will be deprecated in PHP 7.2 (see http://www.php.net/manual/en/function.set-error-handler.php).
* @internal
*/
public static function errorHandler($severity, $message, $file, $line, $context)
public static function errorHandler($severity, $message, $file, $line, $context = array())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please change array() to []

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@dg dg merged commit 7b4b8f5 into nette:master Oct 6, 2017
@dg
Copy link
Member

dg commented Oct 6, 2017

Thanks!

@xabbuh xabbuh deleted the patch-1 branch October 6, 2017 18:47
@xabbuh
Copy link
Contributor Author

xabbuh commented Oct 6, 2017

Thanks for merging!

@mvrhov mvrhov mentioned this pull request Jan 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants