10000 Apply fixes from StyleCI · laravel/framework@33eecce · GitHub
[go: up one dir, main page]

Skip to content

Commit 33eecce

Browse files
taylorotwellStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent f745372 commit 33eecce

File tree

16 files changed

+39
-39
lines changed

16 files changed

+39
-39
lines changed

src/Illuminate/Collections/Collection.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ public function map(callable $callback)
671671
* @template TMapToDictionaryKey of array-key
672672
* @template TMapToDictionaryValue
673673
*
674-
* @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback
674+
* @param callable(TValue, TKey): array<TMapToDictionaryKey, TMapToDictionaryValue> $callback
675675
* @return static<TMapToDictionaryKey, array<int, TMapToDictionaryValue>>
676676
*/
677677
public function mapToDictionary(callable $callback)
@@ -703,7 +703,7 @@ public function mapToDictionary(callable $callback)
703703
* @template TMapWithKeysKey of array-key
704704
* @template TMapWithKeysValue
705705
*
706-
* @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback
706+
* @param callable(TValue, TKey): array<TMapWithKeysKey, TMapWithKeysValue> $callback
707707
* @return static<TMapWithKeysKey, TMapWithKeysValue>
708708
*/
709709
public function mapWithKeys(callable $callback)
@@ -724,7 +724,7 @@ public function mapWithKeys(callable $callback)
724724
/**
725725< 10000 div class="diff-text-inner"> * Merge the collection with the given items.
726726
*
727-
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
727+
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
728728
* @return static<TKey, TValue>
729729
*/
730730
public function merge($items)
@@ -735,7 +735,7 @@ public function merge($items)
735735
/**
736736
* Recursively merge the collection with the given items.
737737
*
738-
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
738+
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
739739
* @return static<TKey, array<int, TValue>>
740740
*/
741741
public function mergeRecursive($items)
@@ -748,7 +748,7 @@ public function mergeRecursive($items)
748748
*
749749
* @template TCombineValue
750750
*
751-
* @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values
751+
* @param \Illuminate\Contracts\Support\Arrayable<array-key, TCombineValue>|iterable<array-key, TCombineValue> $values
752752
* @return static<TKey, TCombineValue>
753753
*/
754754
public function combine($values)
@@ -759,7 +759,7 @@ public function combine($values)
759759
/**
760760
* Union the collection with the given items.
761761
*
762-
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
762+
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
763763
* @return static<TKey, TValue>
764764
*/
765765
public function union($items)
@@ -794,7 +794,7 @@ public function nth($step, $offset = 0)
794794
/**
795795
* Get the items with the specified keys.
796796
*
797-
* @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey> $keys
797+
* @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey> $keys
798798
* @return static<TKey, TValue>
799799
*/
800800
public function only($keys)
@@ -933,7 +933,7 @@ public function random($number = null)
933933
/**
934934
* Replace the collection items with the given items.
935935
*
936-
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
936+
* @param \Illuminate\Contracts\Support\Arrayable<TKey, TValue>|iterable<TKey, TValue> $items
937937
* @return static<TKey, TValue>
938938
*/
939939
public function replace($items)

src/Illuminate/Collections/Enumerable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ public function flatMap(callable $callback);
661661
/**
662662
* Map the values into a new class.
663663
*
664-
* @param class-string $class
664+
* @param class-string $class
665665
* @return static<TKey, mixed>
666666
*/
667667
public function mapInto($class);

src/Illuminate/Collections/Traits/EnumeratesValues.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public static function wrap($value)
122122
* @template TUnwrapKey of array-key
123123
* @template TUnwrapValue
124124
*
125-
* @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value
125+
* @param array<TUnwrapKey, TUnwrapValue>|static<TUnwrapKey, TUnwrapValue> $value
126126
* @return array<TUnwrapKey, TUnwrapValue>
127127
*/
128128
public static function unwrap($value)
@@ -346,7 +346,7 @@ public function mapSpread(callable $callback)
346346
* @template TMapToGroupsKey of array-key
347347
* @template TMapToGroupsValue
348348
*
349-
* @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback
349+
* @param callable(TValue, TKey): array<TMapToGroupsKey, TMapToGroupsValue> $callback
350350
* @return static<TMapToGroupsKey, static<int, TMapToGroupsValue>>
351351
*/
352352
public function mapToGroups(callable $callback)
@@ -359,7 +359,7 @@ public function mapToGroups(callable $callback)
359359
/**
360360
* Map a collection and flatten the result by a single level.
361361
*
362-
* @param callable(TValue, TKey): mixed $callback
362+
* @param callable(TValue, TKey): mixed $callback
363363
* @return static<int, mixed>
364364
*/
365365
public function flatMap(callable $callback)
@@ -370,7 +370,7 @@ public function flatMap(callable $callback)
370370
/**
371371
* Map the values into a new class.
372372
*
373-
* @param class-string $class
373+
* @param class-string $class
374374
* @return static<TKey, mixed>
375375
*/
376376
public function mapInto($class)
@@ -436,8 +436,8 @@ public function forPage($page, $perPage)
436436
* Partition the collection into two arrays using the given callback or key.
437437
*
438438
* @param (callable(TValue, TKey): bool)|TValue|string $key
439-
* @param TValue|string|null $operator
440-
* @param TValue|null $value
439+
* @param TValue|string|null $operator
440+
* @param TValue|null $value
441441
* @return array<int, static<TKey, TValue>>
442442
*/
443443
public function partition($key, $operator = null, $value = null)
@@ -718,8 +718,8 @@ public function pipeInto($class)
718718
* @template TReduceInitial
719719
* @template TReduceReturnType
720720
*
721-
* @param callable(TReduceInitial|TReduceReturnType, TValue): TReduceReturnType $callback
722-
* @param TReduceInitial $initial
721+
* @param callable(TReduceInitial|TReduceReturnType, TValue): TReduceReturnType $callback
722+
* @param TReduceInitial $initial
723723
* @return TReduceReturnType
724724
*/
725725
public function reduce(callable $callback, $initial = null)
@@ -739,8 +739,8 @@ public function reduce(callable $callback, $initial = null)
739739
* @template TReduceWithKeysInitial
740740
* @template TReduceWithKeysReturnType
741741
*
742-
* @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue): TReduceWithKeysReturnType $callback
743-
* @param TReduceWithKeysInitial $initial
742+
* @param callable(TReduceWithKeysInitial|TReduceWithKeysReturnType, TValue): TReduceWithKeysReturnType $callback
743+
* @param TReduceWithKeysInitial $initial
744744
* @return TReduceWithKeysReturnType
745745
*/
746746
public function reduceWithKeys(callable $callback, $initial = null)

src/Illuminate/Contracts/Foundation/Application.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,23 @@ public function basePath($path = '');
2424
/**
2525
* Get the path to the bootstrap directory.
2626
*
27-
* @param string $path Optionally, a path to append to the bootstrap path
27+
* @param string $path Optionally, a path to append to the bootstrap path
2828
* @return string
2929
*/
3030
public function bootstrapPath($path = '');
3131

3232
/**
3333
* Get the path to the application configuration files.
3434
*
35-
* @param string $path Optionally, a path to append to the config path
35+
* @param string $path Optionally, a path to append to the config path
3636
* @return string
3737
*/
3838
public function configPath($path = '');
3939

4040
/**
4141
* Get the path to the database directory.
4242
*
43-
* @param string $path Optionally, a path to append to the database path
43+
* @param string $path Optionally, a path to append to the database path
4444
* @return string
4545
*/
4646
public function databasePath($path = '');

src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ public function orWhereRelation($relation, $column, $operator = null, $value = n
384384
* Add a polymorphic relationship condition to the query with a where clause.
385385
*
386386
* @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation
387-
* @param string|array $types
387+
* @param string|array $types
388388
* @param \Closure|string|array|\Illuminate\Database\Query\Expression $column
389389
* @param mixed $operator
390390
* @param mixed $value
@@ -401,7 +401,7 @@ public function whereMorphRelation($relation, $types, $column, $operator = null,
401401
* Add a polymorphic relationship condition to the query with an "or where" clause.
402402
*
403403
* @param \Illuminate\Database\Eloquent\Relations\MorphTo|string $relation
404-
* @param string|array $types
404+
* @param string|array $types
405405
* @param \Closure|string|array|\Illuminate\Database\Query\Expression $column
406406
* @param mixed $operator
407407
* @param mixed $value

src/Illuminate/Database/Query/Grammars/Grammar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ protected function compileUpdateWithJoins(Builder $query, $table, $columns, $whe
10281028
/**
10291029
* Compile an "upsert" statement into SQL.
10301030
*
1031-
* @param \Illuminate\Database\Query\Builder $query
1031+
* @param \Illuminate\Database\Query\Builder $query
10321032
* @param array $values
10331033
* @param array $uniqueBy
10341034
* @param array $update

src/Illuminate/Foundation/Application.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ public function useAppPath($path)
352352
/**
353353
* Get the base path of the Laravel installation.
354354
*
355-
* @param string $path Optionally, a path to append to the base path
355+
* @param string $path Optionally, a path to append to the base path
356356
* @return string
357357
*/
358358
public function basePath($path = '')
@@ -363,7 +363,7 @@ public function basePath($path = '')
363363
/**
364364
* Get the path to the bootstrap directory.
365365
*
366-
* @param string $path Optionally, a path to append to the bootstrap path
366+
* @param string $path Optionally, a path to append to the bootstrap path
367367
* @return string
368368
*/
369369
public function bootstrapPath($path = '')
@@ -374,7 +374,7 @@ public function bootstrapPath($path = '')
374374
/**
375375
* Get the path to the application configuration files.
376376
*
377-
* @param string $path Optionally, a path to append to the config path
377+
* @param string $path Optionally, a path to append to the config path
378378
* @return string
379379
*/
380380
public function configPath($path = '')
@@ -385,7 +385,7 @@ public function configPath($path = '')
385385
/**
386386
* Get the path to the database directory.
387387
*
388-
* @param string $path Optionally, a path to append to the database path
388+
* @param string $path Optionally, a path to append to the database path
389389
* @return string
390390
*/
391391
public function databasePath($path = '')

src/Illuminate/Http/Client/Events/RequestSending.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class RequestSending
1616
/**
1717
* Create a new event instance.
1818
*
19-
* @param \Illuminate\Http\Client\Request $request
19+
* @param \Illuminate\Http\Client\Request $request
2020
* @return void
2121
*/
2222
public function __construct(Request $request)

src/Illuminate/Http/Client/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public function serverError()
193193
/**
194194
* Execute the given callback if there was a server or client error.
195195
*
196-
* @param \Closure|callable $callback
196+
* @param \Closure|callable $callback
197197
* @return $this
198198
*/
199199
public function onError(callable $callback)

src/Illuminate/Pagination/CursorPaginator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class CursorPaginator extends AbstractCursorPaginator implements Arrayable, Arra
2626
* @param mixed $items
2727
* @param int $perPage
2828
* @param \Illuminate\Pagination\Cursor|null $cursor
29-
* @param array $options (path, query, fragment, pageName)
29+
* @param array $options (path, query, fragment, pageName)
3030
* @return void
3131
*/
3232
public function __construct($items, $perPage, $cursor = null, array $options = [])

0 commit comments

Comments
 (0)
0