mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #8646 from ravage84/2.x-exceptions
Correct DocBlock for HttpException
This commit is contained in:
commit
fba5439830
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