Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Illuminate/Cache/RedisTagSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class RedisTagSet extends TagSet
*
* @param string $key
* @param int|null $ttl
* @param string $updateWhen
* @param string|null $updateWhen
* @return void
*/
public function addEntry(string $key, ?int $ttl = null, $updateWhen = null)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ interface SupportsPartialRelations
*
* @param string|null $column
* @param string|\Closure|null $aggregate
* @param string $relation
* @param string|null $relation
* @return $this
*/
public function ofMany($column = 'id', $aggregate = 'MAX', $relation = null);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ public function orWhereAttachedTo($related, $relationshipName = null)
*
* @param mixed $relations
* @param \Illuminate\Contracts\Database\Query\Expression|string $column
* @param string $function
* @param string|null $function
* @return $this
*/
public function withAggregate($relations, $column, $function = null)
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Migrations/MigrationCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function create($name, $path, $table = null, $create = false)
* Ensure that a migration with the given name doesn't already exist.
*
* @param string $name
* @param string $migrationPath
* @param string|null $migrationPath
* @return void
*
* @throws \InvalidArgumentException
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Foundation/Configuration/Middleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -555,8 +555,8 @@ public function redirectUsersTo(callable|string $redirect)
/**
* Configure where users are redirected by the authentication and guest middleware.
*
* @param callable|string $guests
* @param callable|string $users
* @param callable|string|null $guests
* @param callable|string|null $users
* @return $this
*/
public function redirectTo(callable|string|null $guests = null, callable|string|null $users = null)
Expand Down
2 changes: 1 addition & 1 deletion src/Illuminate/Support/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ public static function defaultProviders()
* Add the given provider to the application's provider bootstrap file.
*
* @param string $provider
* @param string $path
* @param string|null $path
* @return bool
*/
public static function addProviderToBootstrapFile(string $provider, ?string $path = null)
Expand Down
6 changes: 3 additions & 3 deletions src/Illuminate/Support/Stringable.php
Original file line number Diff line number Diff line change
Expand Up @@ -1045,7 +1045,7 @@ public function take(int $limit)
/**
* Trim the string of the given characters.
*
* @param string $characters
* @param string|null $characters
* @return static
*/
public function trim($characters = null)
Expand All @@ -1056,7 +1056,7 @@ public function trim($characters = null)
/**
* Left trim the string of the given characters.
*
* @param string $characters
* @param string|null $characters
* @return static
*/
public function ltrim($characters = null)
Expand All @@ -1067,7 +1067,7 @@ public function ltrim($characters = null)
/**
* Right trim the string of the given characters.
*
* @param string $characters
* @param string|null $characters
* @return static
*/
public function rtrim($characters = null)
Expand Down