mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Correct DocBlock for HttpException
http://api.cakephp.org/2.8/class-HttpException.html > Class HttpException > Base class that all Exceptions extend. Which is actually the short description of CakeBaseException. http://api.cakephp.org/2.8/class-CakeBaseException.html Probably because the DocBlock was placed before the if clause.
This commit is contained in:
parent
1d4e39a45a
commit
25a0796865
1 changed files with 2 additions and 1 deletions
|
@ -53,14 +53,15 @@ class CakeBaseException extends RuntimeException {
|
|||
|
||||
}
|
||||
|
||||
if (!class_exists('HttpException', false)) {
|
||||
/**
|
||||
* Parent class for all of the HTTP related exceptions in CakePHP.
|
||||
*
|
||||
* All HTTP status/error related exceptions should extend this class so
|
||||
* catch blocks can be specifically typed.
|
||||
*
|
||||
* @package Cake.Error
|
||||
*/
|
||||
if (!class_exists('HttpException', false)) {
|
||||
class HttpException extends CakeBaseException {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue