Skip to content

Commit 17dca10

Browse files
divinehalaei
andcommitted
chore: apply php-cs-fixer
Co-Authored-By: Hamid Alaei Varnosfaderani <[email protected]>
1 parent 71b7861 commit 17dca10

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/Eloquent/Model.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
use function in_array;
1717
use Jenssegers\Mongodb\Query\Builder as QueryBuilder;
1818
use MongoDB\BSON\Binary;
19+
use function MongoDB\BSON\fromPHP;
1920
use MongoDB\BSON\ObjectID;
2021
use MongoDB\BSON\UTCDateTime;
21-
use function MongoDB\BSON\fromPHP;
2222
use MongoDB\Driver\Exception\UnexpectedValueException;
2323
use function uniqid;
2424

@@ -262,7 +262,7 @@ public function originalIsEquivalent($key)
262262
}
263263

264264
try {
265-
return (fromPHP([$attribute]) === fromPHP([$original]));
265+
return fromPHP([$attribute]) === fromPHP([$original]);
266266
} catch (UnexpectedValueException $e) {
267267
return false;
268268
}

0 commit comments

Comments
 (0)