Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge branch 'fix/return-early' of git://github.com/samsonasik/zf2 in…
Browse files Browse the repository at this point in the history
…to hotfix/3286
  • Loading branch information
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AbstractContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,9 @@ public function findBy($property, $value, $all = false)
{
if ($all) {
return $this->findAllBy($property, $value);
} else {
return $this->findOneBy($property, $value);
}

return $this->findOneBy($property, $value);
}

/**
Expand Down

0 comments on commit 53aa949

Please sign in to comment.