mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-10 05:22:41 +00:00
Merge branch '2.3' into type-checks
Conflicts: lib/Cake/Console/Command/Task/ModelTask.php lib/Cake/Controller/Component/RequestHandlerComponent.php lib/Cake/Model/Datasource/Database/Mysql.php lib/Cake/Utility/CakeNumber.php
This commit is contained in:
commit
408e619c9f
102 changed files with 1416 additions and 655 deletions
|
@ -213,7 +213,6 @@ class Debugger {
|
|||
if (empty($line)) {
|
||||
$line = '??';
|
||||
}
|
||||
$path = self::trimPath($file);
|
||||
|
||||
$info = compact('code', 'description', 'file', 'line');
|
||||
if (!in_array($info, $self->errors)) {
|
||||
|
@ -318,7 +317,7 @@ class Debugger {
|
|||
foreach ($next['args'] as $arg) {
|
||||
$args[] = Debugger::exportVar($arg);
|
||||
}
|
||||
$reference .= join(', ', $args);
|
||||
$reference .= implode(', ', $args);
|
||||
}
|
||||
$reference .= ')';
|
||||
}
|
||||
|
@ -779,11 +778,11 @@ class Debugger {
|
|||
continue;
|
||||
}
|
||||
if (is_array($value)) {
|
||||
$value = join("\n", $value);
|
||||
$value = implode("\n", $value);
|
||||
}
|
||||
$info .= String::insert($tpl[$key], array($key => $value) + $data, $insertOpts);
|
||||
}
|
||||
$links = join(' ', $links);
|
||||
$links = implode(' ', $links);
|
||||
|
||||
if (isset($tpl['callback']) && is_callable($tpl['callback'])) {
|
||||
return call_user_func($tpl['callback'], $data, compact('links', 'info'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue