Skip to content

Commit

Permalink
Merge pull request #257 from analogueorm/analysis-zOZWkJ
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
RemiCollin authored Mar 7, 2018
2 parents 673c045 + 9fe221e commit 9375bab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/AnalogueServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function register()

// If the cache is pre laravel 5.5, it doesn't implements PSR-16, so we'll skip it.
$cache = $app->make(CacheRepository::class);

if ($cache instanceof CacheInterface) {
$manager->setCache($cache);
}
Expand Down
2 changes: 1 addition & 1 deletion src/System/Proxies/CollectionProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ public function where($key, $operator, $value = null)

return $parent->where($key, $operator, $value);
}

/**
* {@inheritdoc}
*/
Expand Down
2 changes: 1 addition & 1 deletion src/System/Wrappers/ObjectWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ protected function relationNeedsProxy($relation, $attributes)
$localKey = $localKey['id'];
}

if (!isset($attributes[$localKey]) || is_null($attributes[$localKey]) ) {
if (!isset($attributes[$localKey]) || is_null($attributes[$localKey])) {
return false;
}

Expand Down

0 comments on commit 9375bab

Please sign in to comment.