From 078d7e1abac99d5fb3e1981950b268dbf7c37205 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D0=B0=D0=B1=D0=B8=D1=87=D0=B5=D0=B2=20=D0=9C=D0=B0?= =?UTF-8?q?=D0=BA=D1=81=D0=B8=D0=BC?= Date: Thu, 20 Apr 2017 14:59:24 +0300 Subject: [PATCH] Update Query.php --- src/ORM/Queries/Query.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}