Skip to content

Commit

Permalink
Some more space / tabs issues [Travis PHPCS=1 fail]
Browse files Browse the repository at this point in the history
  • Loading branch information
k-halaburda committed Aug 9, 2013
1 parent 2655d16 commit 74eb326
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Cake/Model/Datasource/DboSource.php
Expand Up @@ -1139,9 +1139,9 @@ public function read(Model $model, $queryData = array(), $recursive = null) {
*/
protected function _filterResults(&$results, Model $model, $filtered = array()) {
if (!is_array($results)) {
return array();
}
$current = reset($results);
return array();
}
$current = reset($results);
if (!is_array($current)) {
return array();
}
Expand Down Expand Up @@ -1255,7 +1255,7 @@ public function queryAssociation(Model $model, &$linkModel, $type, $association,
} else {
$fetch = null;
}
if ($queryData['callbacks'] === true || $queryData['callbacks'] === 'after') {
if ($queryData['callbacks'] === true || $queryData['callbacks'] === 'after') {
$this->_filterResults($fetch, $model);
}
}
Expand Down

0 comments on commit 74eb326

Please sign in to comment.