8000 Update Builder.php (#56117) · laravel/framework@aaff1cd · GitHub
[go: up one dir, main page]

Skip to content

Commit aaff1cd

Browse files
authored
Update Builder.php (#56117)
1 parent 071a9d3 commit aaff1cd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Illuminate/Database/Query/Builder.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3262,7 +3262,7 @@ protected function ensureOrderForCursorPagination($shouldReverse = false)
32623262
* Get the count of the total records for the paginator.
32633263
*
32643264
* @param array<string|\Illuminate\Contracts\Database\Query\Expression> $columns
3265-
* @return int
3265+
* @return int<0, max>
32663266
*/
32673267
public function getCountForPagination($columns = ['*'])
32683268
{
@@ -3551,7 +3551,7 @@ public function doesntExistOr(Closure $callback)
35513551
* Retrieve the "count" result of the query.
35523552
*
35533553
* @param \Illuminate\Contracts\Database\Query\Expression|string $columns
3554-
* @return int
3554+
* @return int<0, max>
35553555
*/
35563556
public function count($columns = '*')
35573557
{
@@ -3753,7 +3753,7 @@ public function insert(array $values)
37533753
/**
37543754
* Insert new records into the database while ignoring errors.
37553755
*
3756-
* @return int
3756+
* @return int<0, max>
37573757
*/
37583758
public function insertOrIgnore(array $values)
37593759
{
@@ -3835,7 +3835,7 @@ public function insertOrIgnoreUsing(array $columns, $query)
38353835
/**
38363836
* Update records in the database.
38373837
*
3838-
* @return int
3838+
* @return int<0, max>
38393839
*/
38403840
public function update(array $values)
38413841
{
@@ -3953,7 +3953,7 @@ public function upsert(array $values, array|string $uniqueBy, ?array $update = n
39533953
*
39543954
* @param string $column
39553955
8000 * @param float|int $amount
3956-
* @return int
3956+
* @return int<0, max>
39573957
*
39583958
* @throws \InvalidArgumentException
39593959
*/
@@ -3971,7 +3971,7 @@ public function increment($column, $amount = 1, array $extra = [])
39713971
*
39723972
* @param array<string, float|int|numeric-string> $columns
39733973
* @param array<string, mixed> $extra
3974-
* @return int
3974+
* @return int<0, max>
39753975
*
39763976
* @throws \InvalidArgumentException
39773977
*/
@@ -3995,7 +3995,7 @@ public function incrementEach(array $columns, array $extra = [])
39953995
*
39963996
* @param string $column
39973997
* @param float|int $amount
3998-
* @return int
3998+
* @return int<0, max>
39993999
*
40004000
* @throws \InvalidArgumentException
40014001
*/
@@ -4013,7 +4013,7 @@ public function decrement($column, $amount = 1, array $extra = [])
40134013
*
40144014
* @param array<string, float|int|numeric-string> $columns
40154015
* @param array<string, mixed> $extra
4016-
* @return int
4016+
* @return int<0, max>
40174017
*
40184018
* @throws \InvalidArgumentException
40194019
*/

0 commit comments

Comments
 (0)
0