mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing formatting of code.
This commit is contained in:
parent
b90a64c044
commit
3a03672379
2 changed files with 3 additions and 4 deletions
|
@ -1237,9 +1237,8 @@ class App extends Object {
|
|||
if ($type === 'core') {
|
||||
return App::core('libs');
|
||||
}
|
||||
|
||||
if (isset($this->{$type.'s'})) {
|
||||
return $this->{$type.'s'};
|
||||
if (isset($this->{$type . 's'})) {
|
||||
return $this->{$type . 's'};
|
||||
}
|
||||
return $paths;
|
||||
}
|
||||
|
|
|
@ -360,7 +360,7 @@ class PaginatorHelper extends AppHelper {
|
|||
|
||||
$obj = isset($options['update']) ? $this->_ajaxHelperClass : 'Html';
|
||||
$url = array_merge(array('page' => $this->current($model)), $url);
|
||||
$url = array_merge(Set::filter($url, true), array_intersect_key($url, array('plugin'=>true)));
|
||||
$url = array_merge(Set::filter($url, true), array_intersect_key($url, array('plugin' => true)));
|
||||
return $this->{$obj}->link($title, $url, $options);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue