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:
Marc Würth 2016-04-14 14:42:01 +02:00
parent 1d4e39a45a
commit 25a0796865

View file

@ -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 {
}
}