mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Fix CS errors
This commit is contained in:
parent
a079ca3f1c
commit
4d434ec9f3
2 changed files with 2 additions and 2 deletions
|
@ -1075,7 +1075,7 @@ class Model extends Object implements CakeEventListener {
|
|||
|
||||
case 'joinTable':
|
||||
$tables = array($this->table, $this->{$class}->table);
|
||||
sort ($tables);
|
||||
sort($tables);
|
||||
$data = $tables[0] . '_' . $tables[1];
|
||||
break;
|
||||
|
||||
|
|
|
@ -520,7 +520,7 @@ class DbAclTest extends CakeTestCase {
|
|||
foreach ($permissions as $key => $values) {
|
||||
array_unshift($values, $key);
|
||||
$values = array_map(array(&$this, '_pad'), $values);
|
||||
$permissions[$key] = implode (' ', $values);
|
||||
$permissions[$key] = implode(' ', $values);
|
||||
}
|
||||
$permissions = array_map(array(&$this, '_pad'), $permissions);
|
||||
array_unshift($permissions, 'Current Permissions :');
|
||||
|
|
Loading…
Add table
Reference in a new issue