Skip to content

Commit

Permalink
~ apply ci style
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Potas <christoph286@googlemail.com>
  • Loading branch information
puschie286 committed Aug 20, 2018
1 parent 6f41476 commit 8037f3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion system/CodeIgniter.php
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ protected function display404errors(PageNotFoundException $e)
}
}

throw PageNotFoundException::forPageNotFound( $e->getMessage() );
throw PageNotFoundException::forPageNotFound($e->getMessage());
}

//--------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions system/Exceptions/PageNotFoundException.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ class PageNotFoundException extends \OutOfBoundsException implements ExceptionIn
*/
protected $code = 404;

public static function forPageNotFound( $Message )
public static function forPageNotFound($Message)
{
return new static( $Message ?? lang('HTTP.pageNotFound'));
return new static($Message ?? lang('HTTP.pageNotFound'));
}

public static function forEmptyController()
Expand Down

0 comments on commit 8037f3e

Please sign in to comment.