Skip to content

Commit 9f029b1

Browse files
CS fixes
1 parent cc90bb9 commit 9f029b1

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

src/Illuminate/Collections/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ public function except($keys)
373373
/**
374374
* Run a filter over each of the items.
375375
*
376-
* @param (callable(TValue, TKey): bool)|null $callback
376+
* @param (callable(TValue, TKey): bool)|null $callback
377377
* @return static
378378
*/
379379
public function filter(callable $callback = null)

src/Illuminate/Database/Eloquent/Collection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ protected function loadMissingRelation(self $models, array $path)
250250
* Load a set of relationships onto the mixed relationship collection.
251251
*
252252
* @param string $relation
253-
* @param array<array-key, (callable(\Illuminate\Database\Eloquent\Builder): mixed)|string> $relations
253+
* @param array<array-key, (callable(\Illuminate\Database\Eloquent\Builder): mixed)|string> $relations
254254
* @return $this
255255
*/
256256
public function loadMorph($relation, $relations)
@@ -267,7 +267,7 @@ public function loadMorph($relation, $relations)
267267
* Load a set of relationship counts onto the mixed relationship collection.
268268
*
269269
* @param string $relation
270-
* @param array<array-key, (callable(\Illuminate\Database\Eloquent\Builder): mixed)|string> $relations
270+
* @param array<array-key, (callable(\Illuminate\Database\Eloquent\Builder): mixed)|string> $relations
271271
* @return $this
272272
*/
273273
public function loadMorphCount($relation, $relations)

src/Illuminate/Foundation/Console/ShowModelCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use Doctrine\DBAL\Schema\Column;
77
use Doctrine\DBAL\Schema\Index;
88
use Doctrine\DBAL\Types\DecimalType;
9-
use Illuminate\Console\Command;
109
use Illuminate\Contracts\Container\BindingResolutionException;
1110
use Illuminate\Database\Console\DatabaseInspectionCommand;
1211
use Illuminate\Database\Eloquent\Relations\Relation;

src/Illuminate/Foundation/Http/Middleware/HandlePrecognitiveRequests.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use Illuminate\Container\Container;
66
use Illuminate\Foundation\Routing\PrecognitionCallableDispatcher;
77
use Illuminate\Foundation\Routing\PrecognitionControllerDispatcher;
8-
use Illuminate\Http\Response;
98
use Illuminate\Routing\Contracts\CallableDispatcher as CallableDispatcherContract;
109
use Illuminate\Routing\Contracts\ControllerDispatcher as ControllerDispatcherContract;
1110

@@ -70,7 +69,7 @@ protected function prepareForPrecognition($request)
7069
*
7170
* @param \Illuminate\Http\Request $request
7271
* @param \Illuminate\Http\Response $response
73-
* @return \Illuminate\Http\Response $response
72+
* @return \Illuminate\Http\Response
7473
*/
7574
protected function appendVaryHeader($request, $response)
7675
{

0 commit comments

Comments
 (0)