Change all internal debug printAr calls

Use the correct log->prAr call for debug array prints
This commit is contained in:
Clemens Schwaighofer
2021-06-16 14:53:58 +09:00
parent f04487d553
commit 4515a5fdd1
4 changed files with 25 additions and 21 deletions

View File

@@ -446,11 +446,11 @@ class Basic
* prints a html formatted (pre) array
* @param array $array any array
* @return string formatted array for output with <pre> tag added
* @deprecated Use \CoreLibs\Debug\Support::printAr() instead
* @deprecated Use $this->log->prAr() instead
*/
public static function printAr(array $array): string
public function printAr(array $array): string
{
return \CoreLibs\Debug\Support::printAr($array);
return $this->log->prAr($array);
}
/**