Skip to content

Commit

Permalink
Merge branch '9.x' into 10.x
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Jun 11, 2023
2 parents 245e891 + e217dca commit cb543f5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 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
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ protected function prepareForPrecognition($request)
*
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Http\Response $response
* @return \Illuminate\Http\Response $response
* @return \Illuminate\Http\Response
*/
protected function appendVaryHeader($request, $response)
{
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 string|null $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 string|null $key
* @return $this
*/
public function assertJsonIsObject($key = null)
Expand Down

0 comments on commit cb543f5

Please sign in to comment.