Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jun 29, 2023
1 parent ef8c6fd commit dd4ed4a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Collections/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ public function except($keys)
/**
* Run a filter over each of the items.
*
* @param (callable(TValue, TKey): bool)|null $callback
* @param (callable(TValue, TKey): bool)|null $callback
* @return static
*/
public function filter(callable $callback = null)
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Database/Eloquent/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ protected function loadMissingRelation(self $models, array $path)
* Load a set of relationships onto the mixed relationship collection.
*
* @param string $relation
* @param array<array-key, (callable(\Illuminate\Database\Eloquent\Builder): mixed)|string> $relations
* @param array<array-key, (callable(\Illuminate\Database\Eloquent\Builder): mixed)|string> $relations
* @return $this
*/
public function loadMorph($relation, $relations)
Expand All @@ -270,7 +270,7 @@ public function loadMorph($relation, $relations)
* Load a set of relationship counts onto the mixed relationship collection.
*
* @param string $relation
* @param array<array-key, (callable(\Illuminate\Database\Eloquent\Builder): mixed)|string> $relations
* @param array<array-key, (callable(\Illuminate\Database\Eloquent\Builder): mixed)|string> $relations
* @return $this
*/
public function loadMorphCount($relation, $relations)
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Support/Sleep.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ protected function shouldNotSleep()
/**
* Only sleep when the given condition is true.
*
* @param (\Closure($this): bool)|bool $condition
* @param (\Closure($this): bool)|bool $condition
* @return $this
*/
public function when($condition)
Expand All @@ -428,7 +428,7 @@ public function when($condition)
/**
* Don't sleep when the given condition is true.
*
* @param (\Closure($this): bool)|bool $condition
* @param (\Closure($this): bool)|bool $condition
* @return $this
*/
public function unless($condition)
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Testing/TestResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ public function assertJsonMissingValidationErrors($keys = null, $responseKey = '
/**
* Assert that the given key is a JSON array.
*
* @param $key
* @param $key
* @return $this
*/
public function assertJsonIsArray($key = null)
Expand All @@ -915,7 +915,7 @@ public function assertJsonIsArray($key = null)
/**
* Assert that the given key is a JSON object.
*
* @param $key
* @param $key
* @return $this
*/
public function assertJsonIsObject($key = null)
Expand Down

0 comments on commit dd4ed4a

Please sign in to comment.