Change argument type to mixed in docblock, as debug() and pr() accept not just a single type

This commit is contained in:
Ceeram 2014-04-02 23:52:11 +02:00
parent bf28e69501
commit 5c31641ea8

View file

@ -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
*/