Skip to content

Commit

Permalink
Merge pull request cakephp#167 from Silwing/patch-1
Browse files Browse the repository at this point in the history
Added a missing function keyword in handleException-function.
  • Loading branch information
ceeram committed Jan 6, 2012
2 parents 8b57c42 + b67bbad commit 95eb8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/development/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ could do the following::
<?php
// in app/Lib/AppErrorHandler.php
class AppErrorHandler {
public static handleException($error) {
public static function handleException($error) {
if ($error instanceof MissingWidgetException) {
return self::handleMissingWidget($error);
}
Expand Down

0 comments on commit 95eb8d5

Please sign in to comment.