diff --git a/src/ORM/Queries/Query.php b/src/ORM/Queries/Query.php index 296cc8a..7cf9c55 100644 --- a/src/ORM/Queries/Query.php +++ b/src/ORM/Queries/Query.php @@ -104,7 +104,7 @@ public function find($asObject = true) /** * @param array|boolean $preload * - * @return array|Entity + * @return null|array|Entity */ public function findOne($preload = []) { @@ -149,4 +149,4 @@ public function findOne($preload = []) return parent::findOne(); } -} \ No newline at end of file +}