Skip to content

Commit f86ba50

Browse files
committed
Style CI
1 parent e2322b1 commit f86ba50

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Jenssegers/Mongodb/Eloquent/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ protected function addHasWhere(EloquentBuilder $hasQuery, Relation $relation, $o
168168

169169
// Get the number of related objects for each possible parent.
170170
$relationCount = array_count_values(array_map(function ($id) {
171-
return (string)$id; // Convert Back ObjectIds to Strings
171+
return (string) $id; // Convert Back ObjectIds to Strings
172172
}, $query->pluck($relation->getHasCompareKey())));
173173

174174
// Remove unwanted related objects based on the operator and count.

src/Jenssegers/Mongodb/Query/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ public function pluck($column, $key = null)
578578
{
579579
$results = $this->get(is_null($key) ? [$column] : [$column, $key]);
580580

581-
return $this->use_collection?$results->pluck($column, $key): Arr::pluck($results,$column,$key);
581+
return $this->use_collection ? $results->pluck($column, $key) : Arr::pluck($results,$column,$key);
582582
}
583583

584584
/**

0 commit comments

Comments
 (0)