@@ -508,7 +508,7 @@ public function ignoreIndex($index)
508
508
/**
509
509
* Add a join clause to the query.
510
510
*
511
- * @param string $table
511
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $table
512
512
* @param \Closure|string $first
513
513
* @param string|null $operator
514
514
* @param string|null $second
@@ -548,7 +548,7 @@ public function join($table, $first, $operator = null, $second = null, $type = '
548
548
/**
549
549
* Add a "join where" clause to the query.
550
550
*
551
- * @param string $table
551
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $table
552
552
* @param \Closure|string $first
553
553
* @param string $operator
554
554
* @param string $second
@@ -588,7 +588,7 @@ public function joinSub($query, $as, $first, $operator = null, $second = null, $
588
588
/**
589
589
* Add a left join to the query.
590
590
*
591
- * @param string $table
591
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $table
592
592
* @param \Closure|string $first
593
593
* @param string|null $operator
594
594
* @param string|null $second
@@ -602,7 +602,7 @@ public function leftJoin($table, $first, $operator = null, $second = null)
602
602
/**
603
603
* Add a "join where" clause to the query.
604
604
*
605
- * @param string $table
605
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $table
606
606
* @param \Closure|string $first
607
607
* @param string $operator
608
608
* @param string $second
@@ -631,7 +631,7 @@ public function leftJoinSub($query, $as, $first, $operator = null, $second = nul
631
631
/**
632
632
* Add a right join to the query.
633
633
*
634
- * @param string $table
634
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $table
635
635
* @param \Closure|string $first
636
636
* @param string|null $operator
637
637
* @param string|null $second
@@ -645,7 +645,7 @@ public function rightJoin($table, $first, $operator = null, $second = null)
645
645
/**
646
646
* Add a "right join where" clause to the query.
647
647
*
648
- * @param string $table
648
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $table
649
649
* @param \Closure|string $first
650
650
* @param string $operator
651
651
* @param string $second
@@ -674,7 +674,7 @@ public function rightJoinSub($query, $as, $first, $operator = null, $second = nu
674
674
/**
675
675
* Add a "cross join" clause to the query.
676
676
*
677
- * @param string $table
677
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $table
678
678
* @param \Closure|string|null $first
679
679
* @param string|null $operator
680
680
* @param string|null $second
@@ -745,7 +745,7 @@ public function mergeWheres($wheres, $bindings)
745
745
/**
746
746
* Add a basic where clause to the query.
747
747
*
748
- * @param \Closure|string|array $column
748
+ * @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column
749
749
* @param mixed $operator
750
750
* @param mixed $value
751
751
* @param string $boolean
@@ -924,7 +924,7 @@ protected function isBitwiseOperator($operator)
924
924
/**
925
925
* Add an "or where" clause to the query.
926
926
*
927
- * @param \Closure|string|array $column
927
+ * @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column
928
928
* @param mixed $operator
929
929
* @param mixed $value
930
930
* @return $this
@@ -941,7 +941,7 @@ public function orWhere($column, $operator = null, $value = null)
941
941
/**
942
942
* Add a basic "where not" clause to the query.
943
943
*
944
- * @param \Closure|string|array $column
944
+ * @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column
945
945
* @param mixed $operator
946
946
* @param mixed $value
947
947
* @param string $boolean
@@ -961,7 +961,7 @@ public function whereNot($column, $operator = null, $value = null, $boolean = 'a
961
961
/**
962
962
* Add an "or where not" clause to the query.
963
963
*
964
- * @param \Closure|string|array $column
964
+ * @param \Closure|string|array|\Illuminate\Contracts\Database\Query\Expression $column
965
965
* @param mixed $operator
966
966
* @param mixed $value
967
967
* @return $this
@@ -1053,7 +1053,7 @@ public function orWhereRaw($sql, $bindings = [])
1053
1053
/**
1054
1054
* Add a "where in" clause to the query.
1055
1055
*
1056
- * @param string $column
1056
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1057
1057
* @param mixed $values
1058
1058
* @param string $boolean
1059
1059
* @param bool $not
@@ -1098,7 +1098,7 @@ public function whereIn($column, $values, $boolean = 'and', $not = false)
1098
1098
/**
1099
1099
* Add an "or where in" clause to the query.
1100
1100
*
1101
- * @param string $column
1101
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1102
1102
* @param mixed $values
1103
1103
* @return $this
1104
1104
*/
@@ -1110,7 +1110,7 @@ public function orWhereIn($column, $values)
1110
1110
/**
1111
1111
* Add a "where not in" clause to the query.
1112
1112
*
1113
- * @param string $column
1113
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1114
1114
* @param mixed $values
1115
1115
* @param string $boolean
1116
1116
* @return $this
@@ -1123,7 +1123,7 @@ public function whereNotIn($column, $values, $boolean = 'and')
1123
1123
/**
1124
1124
* Add an "or where not in" clause to the query.
1125
1125
*
1126
- * @param string $column
1126
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1127
1127
* @param mixed $values
1128
1128
* @return $this
1129
1129
*/
@@ -1200,7 +1200,7 @@ public function orWhereIntegerNotInRaw($column, $values)
1200
1200
/**
1201
1201
* Add a "where null" clause to the query.
1202
1202
*
1203
- * @param string|array $columns
1203
+ * @param string|array|\Illuminate\Contracts\Database\Query\Expression $columns
1204
1204
* @param string $boolean
1205
1205
* @param bool $not
1206
1206
* @return $this
@@ -1219,7 +1219,7 @@ public function whereNull($columns, $boolean = 'and', $not = false)
1219
1219
/**
1220
1220
* Add an "or where null" clause to the query.
1221
1221
*
1222
- * @param string|array $column
1222
+ * @param string|array|\Illuminate\Contracts\Database\Query\Expression $column
1223
1223
* @return $this
1224
1224
*/
1225
1225
public function orWhereNull ($ column )
@@ -1230,7 +1230,7 @@ public function orWhereNull($column)
1230
1230
/**
1231
1231
* Add a "where not null" clause to the query.
1232
1232
*
1233
- * @param string|array $columns
1233
+ * @param string|array|\Illuminate\Contracts\Database\Query\Expression $columns
1234
1234
* @param string $boolean
1235
1235
* @return $this
1236
1236
*/
@@ -1266,7 +1266,7 @@ public function whereBetween($column, iterable $values, $boolean = 'and', $not =
1266
1266
/**
1267
1267
* Add a where between statement using columns to the query.
1268
1268
*
1269
- * @param string $column
1269
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1270
1270
* @param array $values
1271
1271
* @param string $boolean
1272
1272
* @param bool $not
@@ -1284,7 +1284,7 @@ public function whereBetweenColumns($column, array $values, $boolean = 'and', $n
1284
1284
/**
1285
1285
* Add an or where between statement to the query.
1286
1286
*
1287
- * @param string $column
1287
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1288
1288
* @param iterable $values
1289
1289
* @return $this
1290
1290
*/
@@ -1296,7 +1296,7 @@ public function orWhereBetween($column, iterable $values)
1296
1296
/**
1297
1297
* Add an or where between statement using columns to the query.
1298
1298
*
1299
- * @param string $column
1299
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1300
1300
* @param array $values
1301
1301
* @return $this
1302
1302
*/
@@ -1308,7 +1308,7 @@ public function orWhereBetweenColumns($column, array $values)
1308
1308
/**
1309
1309
* Add a where not between statement to the query.
1310
1310
*
1311
- * @param string $column
1311
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1312
1312
* @param iterable $values
1313
1313
* @param string $boolean
1314
1314
* @return $this
@@ -1321,7 +1321,7 @@ public function whereNotBetween($column, iterable $values, $boolean = 'and')
1321
1321
/**
1322
1322
* Add a where not between statement using columns to the query.
1323
1323
*
1324
- * @param string $column
1324
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1325
1325
* @param array $values
1326
1326
* @param string $boolean
1327
1327
* @return $this
@@ -1334,7 +1334,7 @@ public function whereNotBetweenColumns($column, array $values, $boolean = 'and')
1334
1334
/**
1335
1335
* Add an or where not between statement to the query.
1336
1336
*
1337
- * @param string $column
1337
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1338
1338
* @param iterable $values
1339
1339
* @return $this
1340
1340
*/
@@ -1346,7 +1346,7 @@ public function orWhereNotBetween($column, iterable $values)
1346
1346
/**
1347
1347
* Add an or where not between statement using columns to the query.
1348
1348
*
1349
- * @param string $column
1349
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1350
1350
* @param array $values
1351
1351
* @return $this
1352
1352
*/
@@ -1358,7 +1358,7 @@ public function orWhereNotBetweenColumns($column, array $values)
1358
1358
/**
1359
1359
* Add an "or where not null" clause to the query.
1360
1360
*
1361
- * @param string $column
1361
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1362
1362
* @return $this
1363
1363
*/
1364
1364
public function orWhereNotNull ($ column )
@@ -1369,7 +1369,7 @@ public function orWhereNotNull($column)
1369
1369
/**
1370
1370
* Add a "where date" statement to the query.
1371
1371
*
1372
- * @param string $column
1372
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1373
1373
* @param string $operator
1374
1374
* @param \DateTimeInterface|string|null $value
1375
1375
* @param string $boolean
@@ -1393,7 +1393,7 @@ public function whereDate($column, $operator, $value = null, $boolean = 'and')
1393
1393
/**
1394
1394
* Add an "or where date" statement to the query.
1395
1395
*
1396
- * @param string $column
1396
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1397
1397
* @param string $operator
1398
1398
* @param \DateTimeInterface|string|null $value
1399
1399
* @return $this
@@ -1410,7 +1410,7 @@ public function orWhereDate($column, $operator, $value = null)
1410
1410
/**
1411
1411
* Add a "where time" statement to the query.
1412
1412
*
1413
- * @param string $column
1413
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1414
1414
* @param string $operator
1415
1415
* @param \DateTimeInterface|string|null $value
1416
1416
* @param string $boolean
@@ -1434,7 +1434,7 @@ public function whereTime($column, $operator, $value = null, $boolean = 'and')
1434
1434
/**
1435
1435
* Add an "or where time" statement to the query.
1436
1436
*
1437
- * @param string $column
1437
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1438
1438
* @param string $operator
1439
1439
* @param \DateTimeInterface|string|null $value
1440
1440
* @return $this
@@ -1451,7 +1451,7 @@ public function orWhereTime($column, $operator, $value = null)
1451
1451
/**
1452
1452
* Add a "where day" statement to the query.
1453
1453
*
1454
- * @param string $column
1454
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1455
1455
* @param string $operator
1456
1456
* @param \DateTimeInterface|string|int|null $value
1457
1457
* @param string $boolean
@@ -1479,7 +1479,7 @@ public function whereDay($column, $operator, $value = null, $boolean = 'and')
1479
1479
/**
1480
1480
* Add an "or where day" statement to the query.
1481
1481
*
1482
- * @param string $column
1482
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1483
1483
* @param string $operator
1484
1484
* @param \DateTimeInterface|string|int|null $value
1485
1485
* @return $this
@@ -1496,7 +1496,7 @@ public function orWhereDay($column, $operator, $value = null)
1496
1496
/**
1497
1497
* Add a "where month" statement to the query.
1498
1498
*
1499
- * @param string $column
1499
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1500
1500
* @param string $operator
1501
1501
* @param \DateTimeInterface|string|int|null $value
1502
1502
* @param string $boolean
@@ -1524,7 +1524,7 @@ public function whereMonth($column, $operator, $value = null, $boolean = 'and')
1524
1524
/**
1525
1525
* Add an "or where month" statement to the query.
1526
1526
*
1527
- * @param string $column
1527
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1528
1528
* @param string $operator
1529
1529
* @param \DateTimeInterface|string|int|null $value
1530
1530
* @return $this
@@ -1541,7 +1541,7 @@ public function orWhereMonth($column, $operator, $value = null)
1541
1541
/**
1542
1542
* Add a "where year" statement to the query.
1543
1543
*
1544
- * @param string $column
1544
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1545
1545
* @param string $operator
1546
1546
* @param \DateTimeInterface|string|int|null $value
1547
1547
* @param string $boolean
@@ -1565,7 +1565,7 @@ public function whereYear($column, $operator, $value = null, $boolean = 'and')
1565
1565
/**
1566
1566
* Add an "or where year" statement to the query.
1567
1567
*
1568
- * @param string $column
1568
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1569
1569
* @param string $operator
1570
1570
* @param \DateTimeInterface|string|int|null $value
1571
1571
* @return $this
@@ -1583,7 +1583,7 @@ public function orWhereYear($column, $operator, $value = null)
1583
1583
* Add a date based (year, month, day, time) statement to the query.
1584
1584
*
1585
1585
* @param string $type
1586
- * @param string $column
1586
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1587
1587
* @param string $operator
1588
1588
* @param mixed $value
1589
1589
* @param string $boolean
@@ -1647,7 +1647,7 @@ public function addNestedWhereQuery($query, $boolean = 'and')
1647
1647
/**
1648
1648
* Add a full sub-select to the query.
1649
1649
*
1650
- * @param string $column
1650
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
1651
1651
* @param string $operator
1652
1652
* @param \Closure $callback
1653
1653
* @param string $boolean
@@ -3094,7 +3094,7 @@ public function doesntExistOr(Closure $callback)
3094
3094
/**
3095
3095
* Retrieve the "count" result of the query.
3096
3096
*
3097
- * @param string $columns
3097
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $columns
3098
3098
* @return int
3099
3099
*/
3100
3100
public function count ($ columns = '* ' )
@@ -3105,7 +3105,7 @@ public function count($columns = '*')
3105
3105
/**
3106
3106
* Retrieve the minimum value of a given column.
3107
3107
*
3108
- * @param string $column
3108
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
3109
3109
* @return mixed
3110
3110
*/
3111
3111
public function min ($ column )
@@ -3116,7 +3116,7 @@ public function min($column)
3116
3116
/**
3117
3117
* Retrieve the maximum value of a given column.
3118
3118
*
3119
- * @param string $column
3119
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
3120
3120
* @return mixed
3121
3121
*/
3122
3122
public function max ($ column )
@@ -3127,7 +3127,7 @@ public function max($column)
3127
3127
/**
3128
3128
* Retrieve the sum of the values of a given column.
3129
3129
*
3130
- * @param string $column
3130
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
3131
3131
* @return mixed
3132
3132
*/
3133
3133
public function sum ($ column )
@@ -3140,7 +3140,7 @@ public function sum($column)
3140
3140
/**
3141
3141
* Retrieve the average of the values of a given column.
3142
3142
*
3143
- * @param string $column
3143
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
3144
3144
* @return mixed
3145
3145
*/
3146
3146
public function avg ($ column )
@@ -3151,7 +3151,7 @@ public function avg($column)
3151
3151
/**
3152
3152
* Alias for the "avg" method.
3153
3153
*
3154
- * @param string $column
3154
+ * @param string|\Illuminate\Contracts\Database\Query\Expression $column
3155
3155
* @return mixed
3156
3156
*/
3157
3157
public function average ($ column )
0 commit comments