From 5c31641ea85b9f21f4f4f3f7600d8cc5f2112799 Mon Sep 17 00:00:00 2001 From: Ceeram Date: Wed, 2 Apr 2014 23:52:11 +0200 Subject: [PATCH] Change argument type to mixed in docblock, as debug() and pr() accept not just a single type --- lib/Cake/basics.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Cake/basics.php b/lib/Cake/basics.php index da34f8ac8..92a86ab46 100644 --- a/lib/Cake/basics.php +++ b/lib/Cake/basics.php @@ -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
 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
  */