Fix CS errors

This commit is contained in:
ADmad 2013-05-13 23:51:32 +05:30
parent a079ca3f1c
commit 4d434ec9f3
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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 :');