Skip to content

Commit

Permalink
Update ObjectIdUtils.php
Browse files Browse the repository at this point in the history
  • Loading branch information
djonasm committed Nov 1, 2017
1 parent 66d4e88 commit ebe5e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mongolid/Util/ObjectIdUtils.php
Expand Up @@ -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;
Expand Down

0 comments on commit ebe5e02

Please sign in to comment.