@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | /** |
132 | 132 | * Set the states to be applied to the model. |
133 | 133 | * |
134 | - * @param array|mixed $states |
|
134 | + * @param string[] $states |
|
135 | 135 | * @return $this |
136 | 136 | */ |
137 | 137 | public function states($states) |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | * Create a collection of models. |
212 | 212 | * |
213 | 213 | * @param array $attributes |
214 | - * @return mixed |
|
214 | + * @return \Illuminate\Support\Collection |
|
215 | 215 | */ |
216 | 216 | public function make(array $attributes = []) |
217 | 217 | { |
@@ -475,7 +475,7 @@ discard block |
||
475 | 475 | * Increment a column's value by a given amount. |
476 | 476 | * |
477 | 477 | * @param string $column |
478 | - * @param float|int $amount |
|
478 | + * @param integer $amount |
|
479 | 479 | * @param array $extra |
480 | 480 | * @return int |
481 | 481 | */ |
@@ -488,7 +488,7 @@ discard block |
||
488 | 488 | * Decrement a column's value by a given amount. |
489 | 489 | * |
490 | 490 | * @param string $column |
491 | - * @param float|int $amount |
|
491 | + * @param integer $amount |
|
492 | 492 | * @param array $extra |
493 | 493 | * @return int |
494 | 494 | */ |
@@ -501,7 +501,7 @@ discard block |
||
501 | 501 | * Run the increment or decrement method on the model. |
502 | 502 | * |
503 | 503 | * @param string $column |
504 | - * @param float|int $amount |
|
504 | + * @param integer $amount |
|
505 | 505 | * @param array $extra |
506 | 506 | * @param string $method |
507 | 507 | * @return int |
@@ -943,7 +943,7 @@ discard block |
||
943 | 943 | /** |
944 | 944 | * Get a new query builder that doesn't have any global scopes. |
945 | 945 | * |
946 | - * @return \Illuminate\Database\Eloquent\Builder|static |
|
946 | + * @return Builder |
|
947 | 947 | */ |
948 | 948 | public function newQueryWithoutScopes() |
949 | 949 | { |
@@ -1393,7 +1393,7 @@ discard block |
||
1393 | 1393 | /** |
1394 | 1394 | * Get the queueable connection for the entity. |
1395 | 1395 | * |
1396 | - * @return mixed |
|
1396 | + * @return string |
|
1397 | 1397 | */ |
1398 | 1398 | public function getQueueableConnection() |
1399 | 1399 | { |
@@ -1490,7 +1490,7 @@ discard block |
||
1490 | 1490 | /** |
1491 | 1491 | * Determine if the given attribute exists. |
1492 | 1492 | * |
1493 | - * @param mixed $offset |
|
1493 | + * @param string $offset |
|
1494 | 1494 | * @return bool |
1495 | 1495 | */ |
1496 | 1496 | public function offsetExists($offset) |
@@ -1524,7 +1524,7 @@ discard block |
||
1524 | 1524 | /** |
1525 | 1525 | * Unset the value for a given offset. |
1526 | 1526 | * |
1527 | - * @param mixed $offset |
|
1527 | + * @param string $offset |
|
1528 | 1528 | * @return void |
1529 | 1529 | */ |
1530 | 1530 | public function offsetUnset($offset) |
@@ -550,7 +550,7 @@ |
||
550 | 550 | /** |
551 | 551 | * Get the results of the relationship. |
552 | 552 | * |
553 | - * @return mixed |
|
553 | + * @return Collection |
|
554 | 554 | */ |
555 | 555 | public function getResults() |
556 | 556 | { |
@@ -268,7 +268,7 @@ discard block |
||
268 | 268 | /** |
269 | 269 | * Get the attach record ID and extra attributes. |
270 | 270 | * |
271 | - * @param mixed $key |
|
271 | + * @param integer $key |
|
272 | 272 | * @param mixed $value |
273 | 273 | * @param array $attributes |
274 | 274 | * @return array |
@@ -453,7 +453,7 @@ discard block |
||
453 | 453 | /** |
454 | 454 | * Set the columns on the pivot table to retrieve. |
455 | 455 | * |
456 | - * @param array|mixed $columns |
|
456 | + * @param string $columns |
|
457 | 457 | * @return $this |
458 | 458 | */ |
459 | 459 | public function withPivot($columns) |
@@ -337,7 +337,7 @@ |
||
337 | 337 | /** |
338 | 338 | * Get the results of the relationship. |
339 | 339 | * |
340 | - * @return mixed |
|
340 | + * @return Collection |
|
341 | 341 | */ |
342 | 342 | public function getResults() |
343 | 343 | { |
@@ -99,7 +99,7 @@ |
||
99 | 99 | * |
100 | 100 | * Called via eager load method of Eloquent query builder. |
101 | 101 | * |
102 | - * @return mixed |
|
102 | + * @return Collection |
|
103 | 103 | */ |
104 | 104 | public function getEager() |
105 | 105 | { |
@@ -76,7 +76,7 @@ |
||
76 | 76 | /** |
77 | 77 | * Get the services provided by the provider. |
78 | 78 | * |
79 | - * @return array |
|
79 | + * @return string[] |
|
80 | 80 | */ |
81 | 81 | public function provides() |
82 | 82 | { |
@@ -331,7 +331,7 @@ discard block |
||
331 | 331 | /** |
332 | 332 | * Add a new select column to the query. |
333 | 333 | * |
334 | - * @param array|mixed $column |
|
334 | + * @param Expression $column |
|
335 | 335 | * @return $this |
336 | 336 | */ |
337 | 337 | public function addSelect($column) |
@@ -673,7 +673,7 @@ discard block |
||
673 | 673 | * @param string $value |
674 | 674 | * @param string $operator |
675 | 675 | * @param bool $useDefault |
676 | - * @return array |
|
676 | + * @return string[] |
|
677 | 677 | * |
678 | 678 | * @throws \InvalidArgumentException |
679 | 679 | */ |
@@ -694,7 +694,7 @@ discard block |
||
694 | 694 | * Prevents using Null values with invalid operators. |
695 | 695 | * |
696 | 696 | * @param string $operator |
697 | - * @param mixed $value |
|
697 | + * @param string $value |
|
698 | 698 | * @return bool |
699 | 699 | */ |
700 | 700 | protected function invalidOperatorAndValue($operator, $value) |
@@ -1060,7 +1060,7 @@ discard block |
||
1060 | 1060 | * |
1061 | 1061 | * @param string $column |
1062 | 1062 | * @param string $operator |
1063 | - * @param mixed $value |
|
1063 | + * @param string $value |
|
1064 | 1064 | * @param string $boolean |
1065 | 1065 | * @return \Illuminate\Database\Query\Builder|static |
1066 | 1066 | */ |
@@ -1095,7 +1095,7 @@ discard block |
||
1095 | 1095 | * |
1096 | 1096 | * @param string $column |
1097 | 1097 | * @param string $operator |
1098 | - * @param mixed $value |
|
1098 | + * @param string $value |
|
1099 | 1099 | * @param string $boolean |
1100 | 1100 | * @return \Illuminate\Database\Query\Builder|static |
1101 | 1101 | */ |
@@ -1236,7 +1236,7 @@ discard block |
||
1236 | 1236 | * @param string $type |
1237 | 1237 | * @param string $column |
1238 | 1238 | * @param string $operator |
1239 | - * @param mixed $value |
|
1239 | + * @param string $value |
|
1240 | 1240 | * @param string $boolean |
1241 | 1241 | * @return $this |
1242 | 1242 | */ |
@@ -1540,7 +1540,7 @@ discard block |
||
1540 | 1540 | * |
1541 | 1541 | * @param string $segment |
1542 | 1542 | * @param string $connector |
1543 | - * @param array $parameters |
|
1543 | + * @param string $parameters |
|
1544 | 1544 | * @param int $index |
1545 | 1545 | * @return void |
1546 | 1546 | */ |
@@ -1805,7 +1805,7 @@ discard block |
||
1805 | 1805 | * Constrain the query to the next "page" of results after a given ID. |
1806 | 1806 | * |
1807 | 1807 | * @param int $perPage |
1808 | - * @param int|null $lastId |
|
1808 | + * @param integer $lastId |
|
1809 | 1809 | * @param string $column |
1810 | 1810 | * @return \Illuminate\Database\Query\Builder|static |
1811 | 1811 | */ |
@@ -2529,7 +2529,7 @@ discard block |
||
2529 | 2529 | * Increment a column's value by a given amount. |
2530 | 2530 | * |
2531 | 2531 | * @param string $column |
2532 | - * @param float|int $amount |
|
2532 | + * @param integer $amount |
|
2533 | 2533 | * @param array $extra |
2534 | 2534 | * @return int |
2535 | 2535 | */ |
@@ -2550,7 +2550,7 @@ discard block |
||
2550 | 2550 | * Decrement a column's value by a given amount. |
2551 | 2551 | * |
2552 | 2552 | * @param string $column |
2553 | - * @param float|int $amount |
|
2553 | + * @param integer $amount |
|
2554 | 2554 | * @param array $extra |
2555 | 2555 | * @return int |
2556 | 2556 | */ |
@@ -2767,7 +2767,7 @@ discard block |
||
2767 | 2767 | /** |
2768 | 2768 | * Clone the query without the given properties. |
2769 | 2769 | * |
2770 | - * @param array $properties |
|
2770 | + * @param string[] $properties |
|
2771 | 2771 | * @return static |
2772 | 2772 | */ |
2773 | 2773 | public function cloneWithout(array $properties) |
@@ -2782,7 +2782,7 @@ discard block |
||
2782 | 2782 | /** |
2783 | 2783 | * Clone the query without the given bindings. |
2784 | 2784 | * |
2785 | - * @param array $except |
|
2785 | + * @param string[] $except |
|
2786 | 2786 | * @return static |
2787 | 2787 | */ |
2788 | 2788 | public function cloneWithoutBindings(array $except) |
@@ -243,7 +243,7 @@ discard block |
||
243 | 243 | * |
244 | 244 | * @param \Illuminate\Database\Query\Builder $query |
245 | 245 | * @param string $table |
246 | - * @param array $where |
|
246 | + * @param string $where |
|
247 | 247 | * @return string |
248 | 248 | */ |
249 | 249 | protected function compileDeleteWithoutJoins($query, $table, $where) |
@@ -269,7 +269,7 @@ discard block |
||
269 | 269 | * |
270 | 270 | * @param \Illuminate\Database\Query\Builder $query |
271 | 271 | * @param string $table |
272 | - * @param array $where |
|
272 | + * @param string $where |
|
273 | 273 | * @return string |
274 | 274 | */ |
275 | 275 | protected function compileDeleteWithJoins($query, $table, $where) |