From 12f2f729c8be43de48d54a64c99e447b2874d3cc Mon Sep 17 00:00:00 2001 From: euromark Date: Tue, 17 Sep 2013 14:53:07 +0200 Subject: [PATCH] more cs --- app/Config/core.php | 2 +- lib/Cake/Cache/Engine/RedisEngine.php | 2 +- lib/Cake/Console/Templates/skel/Config/core.php | 2 +- lib/Cake/Controller/Component/AuthComponent.php | 2 +- lib/Cake/Routing/Dispatcher.php | 2 +- lib/Cake/Utility/CakeNumber.php | 2 +- lib/Cake/View/Helper/FormHelper.php | 2 +- lib/Cake/View/Helper/NumberHelper.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/Config/core.php b/app/Config/core.php index ba7a9d0ea..99b3d744f 100644 --- a/app/Config/core.php +++ b/app/Config/core.php @@ -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. diff --git a/lib/Cake/Cache/Engine/RedisEngine.php b/lib/Cake/Cache/Engine/RedisEngine.php index 052aff8c1..c481f8c6f 100644 --- a/lib/Cake/Cache/Engine/RedisEngine.php +++ b/lib/Cake/Cache/Engine/RedisEngine.php @@ -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 */ diff --git a/lib/Cake/Console/Templates/skel/Config/core.php b/lib/Cake/Console/Templates/skel/Config/core.php index 4f91b05e6..012af933a 100644 --- a/lib/Cake/Console/Templates/skel/Config/core.php +++ b/lib/Cake/Console/Templates/skel/Config/core.php @@ -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. diff --git a/lib/Cake/Controller/Component/AuthComponent.php b/lib/Cake/Controller/Component/AuthComponent.php index c36008d9d..8ad5a1885 100644 --- a/lib/Cake/Controller/Component/AuthComponent.php +++ b/lib/Cake/Controller/Component/AuthComponent.php @@ -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; diff --git a/lib/Cake/Routing/Dispatcher.php b/lib/Cake/Routing/Dispatcher.php index 48974e008..aed253a88 100644 --- a/lib/Cake/Routing/Dispatcher.php +++ b/lib/Cake/Routing/Dispatcher.php @@ -243,7 +243,7 @@ class Dispatcher implements CakeEventListener { * 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; diff --git a/lib/Cake/Utility/CakeNumber.php b/lib/Cake/Utility/CakeNumber.php index 1f7742b32..8d43c4169 100644 --- a/lib/Cake/Utility/CakeNumber.php +++ b/lib/Cake/Utility/CakeNumber.php @@ -190,7 +190,7 @@ class CakeNumber { * 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 diff --git a/lib/Cake/View/Helper/FormHelper.php b/lib/Cake/View/Helper/FormHelper.php index aefb3420d..542655709 100644 --- a/lib/Cake/View/Helper/FormHelper.php +++ b/lib/Cake/View/Helper/FormHelper.php @@ -647,7 +647,7 @@ class FormHelper extends AppHelper { * * ### 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 diff --git a/lib/Cake/View/Helper/NumberHelper.php b/lib/Cake/View/Helper/NumberHelper.php index ddf3b483b..007c6cdbd 100644 --- a/lib/Cake/View/Helper/NumberHelper.php +++ b/lib/Cake/View/Helper/NumberHelper.php @@ -113,7 +113,7 @@ class NumberHelper extends AppHelper { * @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