From ebe5e0241c80d4e0161663fc2d1df077018477de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Jonas=20Marques=20Fran=C3=A7a?= Date: Wed, 1 Nov 2017 01:02:53 -0200 Subject: [PATCH] Update ObjectIdUtils.php --- src/Mongolid/Util/ObjectIdUtils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mongolid/Util/ObjectIdUtils.php b/src/Mongolid/Util/ObjectIdUtils.php index 21c18153..27233848 100644 --- a/src/Mongolid/Util/ObjectIdUtils.php +++ b/src/Mongolid/Util/ObjectIdUtils.php @@ -15,7 +15,7 @@ class ObjectIdUtils * * @return bool true if is valid */ - public static function isObjectId($value) + public static function isObjectId($value): bool { if (is_object($value) && method_exists($value, '__toString')) { $value = (string) $value;