Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing formatting of code.

  • Loading branch information...
commit 3a0367237993ec2c8d431ae1c6cf4c604054847d 1 parent b90a64c
@markstory markstory authored
Showing with 3 additions and 4 deletions.
  1. +2 −3 cake/libs/configure.php
  2. +1 −1  cake/libs/view/helpers/paginator.php
View
5 cake/libs/configure.php
@@ -1237,9 +1237,8 @@ function __paths($type) {
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;
}
View
2  cake/libs/view/helpers/paginator.php
@@ -360,7 +360,7 @@ function link($title, $url = array(), $options = array()) {
$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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.