Browse Source

Fixed docblocks. Refs #2677

ADmad 12 years ago
parent
commit
0fa0406d40

+ 1 - 2
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)
@@ -20,7 +20,6 @@ use Cake\Core\App;
 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.
  *

+ 12 - 3
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 @@ namespace Cake\Error;
 /**
  * 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);
 	}

+ 0 - 1
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

+ 1 - 2
src/Network/Request.php

@@ -27,7 +27,6 @@ use Cake\Utility\Hash;
  * 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;