Skip to content

Commit

Permalink
chore: apply php-cs-fixer
Browse files Browse the repository at this point in the history
Co-Authored-By: Hamid Alaei Varnosfaderani <hamid.a85@gmail.com>
  • Loading branch information
divine and halaei committed Feb 19, 2023
1 parent 71b7861 commit 17dca10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Eloquent/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
use function in_array;
use Jenssegers\Mongodb\Query\Builder as QueryBuilder;
use MongoDB\BSON\Binary;
use function MongoDB\BSON\fromPHP;
use MongoDB\BSON\ObjectID;
use MongoDB\BSON\UTCDateTime;
use function MongoDB\BSON\fromPHP;
use MongoDB\Driver\Exception\UnexpectedValueException;
use function uniqid;

Expand Down Expand Up @@ -262,7 +262,7 @@ public function originalIsEquivalent($key)
}

try {
return (fromPHP([$attribute]) === fromPHP([$original]));
return fromPHP([$attribute]) === fromPHP([$original]);
} catch (UnexpectedValueException $e) {
return false;
}
Expand Down

0 comments on commit 17dca10

Please sign in to comment.