mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
more cs
This commit is contained in:
parent
382f75dbfc
commit
12f2f729c8
8 changed files with 8 additions and 8 deletions
|
@ -45,7 +45,7 @@
|
||||||
* - `handler` - callback - The callback to handle errors. You can set this to any callable type,
|
* - `handler` - callback - The callback to handle errors. You can set this to any callable type,
|
||||||
* including anonymous functions.
|
* including anonymous functions.
|
||||||
* Make sure you add App::uses('MyHandler', 'Error'); when using a custom handler class
|
* 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.
|
* - `trace` - boolean - Include stack traces for errors in log files.
|
||||||
*
|
*
|
||||||
* @see ErrorHandler for more information on error handling and configuration.
|
* @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
|
* - server = string URL or ip to the Redis server host
|
||||||
* - port = integer port number to the Redis server (default: 6379)
|
* - port = integer port number to the Redis server (default: 6379)
|
||||||
* - timeout = float timeout in seconds (default: 0)
|
* - 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
|
* @var array
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
* - `handler` - callback - The callback to handle errors. You can set this to any callable type,
|
* - `handler` - callback - The callback to handle errors. You can set this to any callable type,
|
||||||
* including anonymous functions.
|
* including anonymous functions.
|
||||||
* Make sure you add App::uses('MyHandler', 'Error'); when using a custom handler class
|
* 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.
|
* - `trace` - boolean - Include stack traces for errors in log files.
|
||||||
*
|
*
|
||||||
* @see ErrorHandler for more information on error handling and configuration.
|
* @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
|
* Error to display when user attempts to access an object or action to which they do not have
|
||||||
* access.
|
* 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
|
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#AuthComponent::$authError
|
||||||
*/
|
*/
|
||||||
public $authError = null;
|
public $authError = null;
|
||||||
|
|
|
@ -243,7 +243,7 @@ class Dispatcher implements CakeEventListener {
|
||||||
* Load controller and return controller classname
|
* Load controller and return controller classname
|
||||||
*
|
*
|
||||||
* @param CakeRequest $request
|
* @param CakeRequest $request
|
||||||
* @return string|bool Name of controller class name
|
* @return string|boolean Name of controller class name
|
||||||
*/
|
*/
|
||||||
protected function _loadController($request) {
|
protected function _loadController($request) {
|
||||||
$pluginName = $pluginPath = $controller = null;
|
$pluginName = $pluginPath = $controller = null;
|
||||||
|
|
|
@ -190,7 +190,7 @@ class CakeNumber {
|
||||||
* Formats a number into a currency format.
|
* Formats a number into a currency format.
|
||||||
*
|
*
|
||||||
* @param float $value A floating point number
|
* @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
|
* or array with places and before keys
|
||||||
* @return string formatted number
|
* @return string formatted number
|
||||||
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/number.html#NumberHelper::format
|
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/number.html#NumberHelper::format
|
||||||
|
|
|
@ -647,7 +647,7 @@ class FormHelper extends AppHelper {
|
||||||
*
|
*
|
||||||
* ### Options:
|
* ### 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
|
* - `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.
|
* string, will be used as the HTML tag to use.
|
||||||
* - `class` string - The classname for the error message
|
* - `class` string - The classname for the error message
|
||||||
|
|
|
@ -113,7 +113,7 @@ class NumberHelper extends AppHelper {
|
||||||
* @see CakeNumber::format()
|
* @see CakeNumber::format()
|
||||||
*
|
*
|
||||||
* @param float $number A floating point number
|
* @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
|
* or array with places and before keys
|
||||||
* @return string formatted number
|
* @return string formatted number
|
||||||
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/number.html#NumberHelper::format
|
* @link http://book.cakephp.org/2.0/en/core-libraries/helpers/number.html#NumberHelper::format
|
||||||
|
|
Loading…
Reference in a new issue