Permalink
Browse files

more cs

  • Loading branch information...
1 parent 382f75d commit 12f2f729c8be43de48d54a64c99e447b2874d3cc @dereuromark dereuromark committed Sep 17, 2013
View
@@ -45,7 +45,7 @@
* - `handler` - callback - The callback to handle errors. You can set this to any callable type,
* including anonymous functions.
* Make sure you add App::uses('MyHandler', 'Error'); when using a custom handler class
- * - `level` - int - The level of errors you are interested in capturing.
+ * - `level` - integer - The level of errors you are interested in capturing.
* - `trace` - boolean - Include stack traces for errors in log files.
*
* @see ErrorHandler for more information on error handling and configuration.
@@ -39,7 +39,7 @@ class RedisEngine extends CacheEngine {
* - server = string URL or ip to the Redis server host
* - port = integer port number to the Redis server (default: 6379)
* - timeout = float timeout in seconds (default: 0)
- * - persistent = bool Connects to the Redis server with a persistent connection (default: true)
+ * - persistent = boolean Connects to the Redis server with a persistent connection (default: true)
*
* @var array
*/
@@ -36,7 +36,7 @@
* - `handler` - callback - The callback to handle errors. You can set this to any callable type,
* including anonymous functions.
* Make sure you add App::uses('MyHandler', 'Error'); when using a custom handler class
- * - `level` - int - The level of errors you are interested in capturing.
+ * - `level` - integer - The level of errors you are interested in capturing.
* - `trace` - boolean - Include stack traces for errors in log files.
*
* @see ErrorHandler for more information on error handling and configuration.
@@ -211,7 +211,7 @@ class AuthComponent extends Component {
* Error to display when user attempts to access an object or action to which they do not have
* access.
*
- * @var string|bool Error message or boolean false to suppress flash message
+ * @var string|boolean Error message or boolean false to suppress flash message
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#AuthComponent::$authError
*/
public $authError = null;
@@ -243,7 +243,7 @@ protected function _getController($request, $response) {
* Load controller and return controller classname
*
* @param CakeRequest $request
- * @return string|bool Name of controller class name
+ * @return string|boolean Name of controller class name
*/
protected function _loadController($request) {
$pluginName = $pluginPath = $controller = null;
@@ -190,7 +190,7 @@ public static function toPercentage($value, $precision = 2, $options = array())
* Formats a number into a currency format.
*
* @param float $value A floating point number
- * @param integer $options if int then places, if string then before, if (,.-) then use it
+ * @param integer $options If integer then places, if string then before, if (,.-) then use it
* or array with places and before keys
* @return string formatted number
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/number.html#NumberHelper::format
@@ -647,7 +647,7 @@ public function isFieldError($field) {
*
* ### Options:
*
- * - `escape` bool - Whether or not to html escape the contents of the error.
+ * - `escape` boolean - Whether or not to html escape the contents of the error.
* - `wrap` mixed - Whether or not the error message should be wrapped in a div. If a
* string, will be used as the HTML tag to use.
* - `class` string - The classname for the error message
@@ -113,7 +113,7 @@ public function toPercentage($number, $precision = 2, $options = array()) {
* @see CakeNumber::format()
*
* @param float $number A floating point number
- * @param integer $options if int then places, if string then before, if (,.-) then use it
+ * @param integer $options If integer then places, if string then before, if (,.-) then use it
* or array with places and before keys
* @return string formatted number
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/number.html#NumberHelper::format

0 comments on commit 12f2f72

Please sign in to comment.