diff --git a/src/AbstractContainer.php b/src/AbstractContainer.php index a1cf949..64cf229 100644 --- a/src/AbstractContainer.php +++ b/src/AbstractContainer.php @@ -327,7 +327,7 @@ public function findBy($property, $value, $all = false) if ($all) { return $this->findAllBy($property, $value); } - + return $this->findOneBy($property, $value); }