Skip to content

Commit

Permalink
Fixed docblocks. Refs #2677
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Feb 6, 2014
1 parent 59bdf9e commit 0fa0406
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/Error/ErrorHandler.php
@@ -1,6 +1,6 @@
<?php
/**
* PHP 5
* ErrorHandler class
*
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
Expand All @@ -20,7 +20,6 @@
use Cake\Utility\Debugger;

/**
*
* Error Handler provides basic error and exception handling for your application. It captures and
* handles all unhandled exceptions and errors. Displays helpful framework errors when debug > 1.
*
Expand Down
15 changes: 12 additions & 3 deletions src/Error/PrivateActionException.php
Expand Up @@ -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)
*
Expand All @@ -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);
}
Expand Down
1 change: 0 additions & 1 deletion src/Log/Engine/SyslogLog.php
Expand Up @@ -57,7 +57,6 @@ class SyslogLog extends BaseLog {
);

/**
*
* Used to map the string names back to their LOG_* constants
*
* @var array
Expand Down
3 changes: 1 addition & 2 deletions src/Network/Request.php
Expand Up @@ -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 {

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 0fa0406

Please sign in to comment.