mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Change argument type to mixed in docblock, as debug() and pr() accept not just a single type
This commit is contained in:
parent
bf28e69501
commit
5c31641ea8
1 changed files with 2 additions and 2 deletions
|
@ -63,7 +63,7 @@ if (!function_exists('debug')) {
|
|||
*
|
||||
* Only runs if debug level is greater than zero.
|
||||
*
|
||||
* @param boolean $var Variable to show debug information for.
|
||||
* @param mixed $var Variable to show debug information for.
|
||||
* @param boolean $showHtml If set to true, the method prints the debug data in a browser-friendly way.
|
||||
* @param boolean $showFrom If set to true, the method prints from where the function was called.
|
||||
* @return void
|
||||
|
@ -236,7 +236,7 @@ if (!function_exists('pr')) {
|
|||
* print_r() will wrap <PRE> tags around the output of given array. Similar to debug().
|
||||
*
|
||||
* @see debug()
|
||||
* @param array $var Variable to print out
|
||||
* @param mixed $var Variable to print out
|
||||
* @return void
|
||||
* @link http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#pr
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue