Skip to content

Commit c02bca5

Browse files
committed
(+) fix styleci
1 parent 800c891 commit c02bca5

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

src/Query/Builder.php

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function __construct(Connection $connection, Processor $processor)
141141
/**
142142
* Set the projections.
143143
*
144-
* @param array $columns
144+
* @param array $columns
145145
* @return $this
146146
*/
147147
public function project($columns)
@@ -153,7 +153,7 @@ public function project($columns)
153153

154154
/**
155155
* Set the cursor timeout in seconds.
156-
* @param int $seconds
156+
* @param int $seconds
157157
* @return $this
158158
*/
159159
public function timeout($seconds)
@@ -166,7 +166,7 @@ public function timeout($seconds)
166166
/**
167167
* Set the cursor hint.
168168
*
169-
* @param mixed $index
169+
* @param mixed $index
170170
* @return $this
171171
*/
172172
public function hint($index)
@@ -217,8 +217,8 @@ public function cursor($columns = [])
217217
/**
218218
* Execute the query as a fresh "select" statement.
219219
*
220-
* @param array $columns
221-
* @param bool $returnLazy
220+
* @param array $columns
221+
* @param bool $returnLazy
222222
* @return array|static[]|Collection|LazyCollection
223223
*/
224224
public function getFresh($columns = [], $returnLazy = false)
@@ -522,10 +522,10 @@ public function orderBy($column, $direction = 'asc')
522522
/**
523523
* Add a "where all" clause to the query.
524524
*
525-
* @param string $column
526-
* @param array $values
527-
* @param string $boolean
528-
* @param bool $not
525+
* @param string $column
526+
* @param array $values
527+
* @param string $boolean
528+
* @param bool $not
529529
* @return $this
530530
*/
531531
public function whereAll($column, array $values, $boolean = 'and', $not = false)
@@ -729,8 +729,8 @@ public function truncate(): bool
729729
/**
730730
* Get an array with the values of a given column.
731731
*
732-
* @param string $column
733-
* @param string $key
732+
* @param string $column
733+
* @param string $key
734734
* @return array
735735
* @deprecated
736736
*/
@@ -761,9 +761,9 @@ public function raw($expression = null)
761761
/**
762762
* Append one or more values to an array.
763763
*
764-
* @param mixed $column
765-
* @param mixed $value
766-
* @param bool $unique
764+
* @param mixed $column
765+
* @param mixed $value
766+
* @param bool $unique
767767
* @return int
768768
*/
769769
public function push($column, $value = null, $unique = false)
@@ -788,8 +788,8 @@ public function push($column, $value = null, $unique = false)
788788
/**
789789
* Remove one or more values from an array.
790790
*
791-
* @param mixed $column
792-
* @param mixed $value
791+
* @param mixed $column
792+
* @param mixed $value
793793
* @return int
794794
*/
795795
public function pull($column, $value = null)
@@ -812,7 +812,7 @@ public function pull($column, $value = null)
812812
/**
813813
* Remove one or more fields.
814814
*
815-
* @param mixed $columns
815+
* @param mixed $columns
816816
* @return int
817817
*/
818818
public function drop($columns)
@@ -843,8 +843,8 @@ public function newQuery()
843843
/**
844844
* Perform an update query.
845845
*
846-
* @param array $query
847-
* @param array $options
846+
* @param array $query
847+
* @param array $options
848848
* @return int
849849
*/
850850
protected function performUpdate($query, array $options = [])
@@ -866,7 +866,7 @@ protected function performUpdate($query, array $options = [])
866866
/**
867867
* Convert a key to ObjectID if needed.
868868
*
869-
* @param mixed $id
869+
* @param mixed $id
870870
* @return mixed
871871
*/
872872
public function convertKey($id)
@@ -1000,7 +1000,7 @@ protected function compileWheres()
10001000
}
10011001

10021002
/**
1003-
* @param array $where
1003+
* @param array $where
10041004
* @return array
10051005
*/
10061006
protected function compileWhereAll(array $where)
@@ -1011,7 +1011,7 @@ protected function compileWhereAll(array $where)
10111011
}
10121012

10131013
/**
1014-
* @param array $where
1014+
* @param array $where
10151015
* @return array
10161016
*/
10171017
protected function compileWhereBasic(array $where)
@@ -1067,7 +1067,7 @@ protected function compileWhereBasic(array $where)
10671067
}
10681068

10691069
/**
1070-
* @param array $where
1070+
* @param array $where
10711071
* @return mixed
10721072
*/
10731073
protected function compileWhereNested(array $where)
@@ -1078,7 +1078,7 @@ protected function compileWhereNested(array $where)
10781078
}
10791079

10801080
/**
1081-
* @param array $where
1081+
* @param array $where
10821082
* @return array
10831083
*/
10841084
protected function compileWhereIn(array $where)
@@ -1089,7 +1089,7 @@ protected function compileWhereIn(array $where)
10891089
}
10901090

10911091
/**
1092-
* @param array $where
1092+
* @param array $where
10931093
* @return array
10941094
*/
10951095
protected function compileWhereNotIn(array $where)
@@ -1100,7 +1100,7 @@ protected function compileWhereNotIn(array $where)
11001100
}
11011101

11021102
/**
1103-
* @param array $where
1103+
* @param array $where
11041104
* @return array
11051105
*/
11061106
protected function compileWhereNull(array $where)
@@ -1112,7 +1112,7 @@ protected function compileWhereNull(array $where)
11121112
}
11131113

11141114
/**
1115-
* @param array $where
1115+
* @param array $where
11161116
* @return array
11171117
*/
11181118
protected function compileWhereNotNull(array $where)
@@ -1124,7 +1124,7 @@ protected function compileWhereNotNull(array $where)
11241124
}
11251125

11261126
/**
1127-
* @param array $where
1127+
* @param array $where
11281128
* @return array
11291129
*/
11301130
protected function compileWhereBetween(array $where)
@@ -1157,7 +1157,7 @@ protected function compileWhereBetween(array $where)
11571157
}
11581158

11591159
/**
1160-
* @param array $where
1160+
* @param array $where
11611161
* @return array
11621162
*/
11631163
protected function compileWhereDate(array $where)
@@ -1169,7 +1169,7 @@ protected function compileWhereDate(array $where)
11691169

11701170
$operator = $this->conversion[$operator];
11711171

1172-
return match($operator) {
1172+
return match ($operator) {
11731173
'=' => [
11741174
$column => [
11751175
'$gte' => $startOfDay,
@@ -1206,7 +1206,7 @@ protected function compileWhereDate(array $where)
12061206
}
12071207

12081208
/**
1209-
* @param array $where
1209+
* @param array $where
12101210
* @return array
12111211
*/
12121212
protected function compileWhereMonth(array $where)
@@ -1220,7 +1220,7 @@ protected function compileWhereMonth(array $where)
12201220
'$expr' => [
12211221
$operator => [
12221222
[
1223-
'$month' => '$'.$column
1223+
'$month' => '$'.$column,
12241224
],
12251225
$value,
12261226
],
@@ -1229,7 +1229,7 @@ protected function compileWhereMonth(array $where)
12291229
}
12301230

12311231
/**
1232-
* @param array $where
1232+
* @param array $where
12331233
* @return array
12341234
*/
12351235
protected function compileWhereDay(array $where)
@@ -1243,7 +1243,7 @@ protected function compileWhereDay(array $where)
12431243
'$expr' => [
12441244
$operator => [
12451245
[
1246-
'$dayOfMonth' => '$'.$column
1246+
'$dayOfMonth' => '$'.$column,
12471247
],
12481248
$value,
12491249
],
@@ -1252,7 +1252,7 @@ protected function compileWhereDay(array $where)
12521252
}
12531253

12541254
/**
1255-
* @param array $where
1255+
* @param array $where
12561256
* @return array
12571257
*/
12581258
protected function compileWhereYear(array $where)
@@ -1265,16 +1265,16 @@ protected function compileWhereYear(array $where)
12651265
'$expr' => [
12661266
$operator => [
12671267
[
1268-
'$year' => '$'.$column
1268+
'$year' => '$'.$column,
12691269
],
1270-
$value
1270+
$value,
12711271
],
12721272
],
12731273
];
12741274
}
12751275

12761276
/**
1277-
* @param array $where
1277+
* @param array $where
12781278
* @return array
12791279
*/
12801280
protected function compileWhereTime(array $where)
@@ -1288,7 +1288,7 @@ protected function compileWhereTime(array $where)
12881288
}
12891289

12901290
/**
1291-
* @param array $where
1291+
* @param array $where
12921292
* @return mixed
12931293
*/
12941294
protected function compileWhereRaw(array $where)
@@ -1299,7 +1299,7 @@ protected function compileWhereRaw(array $where)
12991299
/**
13001300
* Set custom options for the query.
13011301
*
1302-
* @param array $options
1302+
* @param array $options
13031303
* @return $this
13041304
*/
13051305
public function options(array $options)

0 commit comments

Comments
 (0)