mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #14718 from yjerem/fix-implode-argument-order
[2.x] Fix deprecated argument order in calls to implode()
This commit is contained in:
commit
a9b8c6b60f
2 changed files with 3 additions and 3 deletions
|
@ -149,7 +149,7 @@ class CompletionShell extends AppShell {
|
||||||
*/
|
*/
|
||||||
protected function _output($options = array()) {
|
protected function _output($options = array()) {
|
||||||
if ($options) {
|
if ($options) {
|
||||||
return $this->out(implode($options, ' '));
|
return $this->out(implode(' ', $options));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -609,8 +609,8 @@ class FormHelper extends AppHelper {
|
||||||
ksort($locked, SORT_STRING);
|
ksort($locked, SORT_STRING);
|
||||||
$fields += $locked;
|
$fields += $locked;
|
||||||
|
|
||||||
$locked = implode(array_keys($locked), '|');
|
$locked = implode('|', array_keys($locked));
|
||||||
$unlocked = implode($unlockedFields, '|');
|
$unlocked = implode('|', $unlockedFields);
|
||||||
$hashParts = array(
|
$hashParts = array(
|
||||||
$this->_lastAction,
|
$this->_lastAction,
|
||||||
serialize($fields),
|
serialize($fields),
|
||||||
|
|
Loading…
Reference in a new issue