diff --git a/src/Error/ErrorHandler.php b/src/Error/ErrorHandler.php index 2a703530991..f672897f8d9 100644 --- a/src/Error/ErrorHandler.php +++ b/src/Error/ErrorHandler.php @@ -1,6 +1,6 @@ 1. * diff --git a/src/Error/PrivateActionException.php b/src/Error/PrivateActionException.php index 53427307a69..28f0e80586b 100644 --- a/src/Error/PrivateActionException.php +++ b/src/Error/PrivateActionException.php @@ -2,8 +2,6 @@ /** * PrivateActionException class * - * PHP 5 - * * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) * @@ -20,12 +18,23 @@ /** * Private Action exception - used when a controller action * starts with a `_`. - * */ class PrivateActionException extends Exception { +/** + * Message template. + * + * @var string + */ protected $_messageTemplate = 'Private Action %s::%s() is not directly accessible.'; +/** + * Constructor + * + * @param string $message Excception message + * @param integer $code Exception code + * @param \Exception $previous Previous exception + */ public function __construct($message, $code = 404, Exception $previous = null) { parent::__construct($message, $code, $previous); } diff --git a/src/Log/Engine/SyslogLog.php b/src/Log/Engine/SyslogLog.php index 6b56a9e9c43..405fbd7db8c 100644 --- a/src/Log/Engine/SyslogLog.php +++ b/src/Log/Engine/SyslogLog.php @@ -57,7 +57,6 @@ class SyslogLog extends BaseLog { ); /** - * * Used to map the string names back to their LOG_* constants * * @var array diff --git a/src/Network/Request.php b/src/Network/Request.php index 8f244afdedb..1f5b59d2a46 100644 --- a/src/Network/Request.php +++ b/src/Network/Request.php @@ -27,7 +27,6 @@ * Has both an Array and Object interface. You can access framework parameters using indexes: * * `$request['controller']` or `$request->controller`. - * */ class Request implements \ArrayAccess { @@ -106,7 +105,7 @@ class Request implements \ArrayAccess { * Only set to true if your application runs behind load balancers/proxies * that you control. * - * @param boolean + * @var boolean */ public $trustProxy = false;