Skip to content

Commit da71956

Browse files
authored
Replace the wrong parameter type dynamic with mixed (#46696)
1 parent 6e9d2ac commit da71956

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/Illuminate/Redis/Connections/PhpRedisConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ public function evalsha($script, $numkeys, ...$arguments)
440440
*
441441
* @param string $script
442442
* @param int $numberOfKeys
443-
* @param dynamic ...$arguments
443+
* @param mixed ...$arguments
444444
* @return mixed
445445
*/
446446
public function eval($script, $numberOfKeys, ...$arguments)

src/Illuminate/Routing/ControllerMiddlewareOptions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(array &$options)
2525
/**
2626
* Set the controller methods the middleware should apply to.
2727
*
28-
* @param array|string|dynamic $methods
28+
* @param array|string|mixed $methods
2929
* @return $this
3030
*/
3131
public function only($methods)
@@ -38,7 +38,7 @@ public function only($methods)
3838
/**
3939
* Set the controller methods the middleware should exclude.
4040
*
41-
* @param array|string|dynamic $methods
41+
* @param array|string|mixed $methods
4242
* @return $this
4343
*/
4444
public function except($methods)

src/Illuminate/Routing/PendingResourceRegistration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function __construct(ResourceRegistrar $registrar, $name, $controller, ar
6464
/**
6565
* Set the methods the controller should apply to.
6666
*
67-
* @param array|string|dynamic $methods
67+
* @param array|string|mixed $methods
6868
* @return \Illuminate\Routing\PendingResourceRegistration
6969
*/
7070
public function only($methods)
@@ -77,7 +77,7 @@ public function only($methods)
7777
/**
7878
* Set the methods the controller should exclude.
7979
*
80-
* @param array|string|dynamic $methods
80+
* @param array|string|mixed $methods
8181
* @return \Illuminate\Routing\PendingResourceRegistration
8282
*/
8383
public function except($methods)

src/Illuminate/Routing/PendingSingletonResourceRegistration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function __construct(ResourceRegistrar $registrar, $name, $controller, ar
6464
/**
6565
* Set the methods the controller should apply to.
6666
*
67-
* @param array|string|dynamic $methods
67+
* @param array|string|mixed $methods
6868
* @return \Illuminate\Routing\PendingSingletonResourceRegistration
6969
*/
7070
public function only($methods)
@@ -77,7 +77,7 @@ public function only($methods)
7777
/**
7878
* Set the methods the controller should exclude.
7979
*
80-
* @param array|string|dynamic $methods
80+
* @param array|string|mixed $methods
8181
* @return \Illuminate\Routing\PendingSingletonResourceRegistration
8282
*/
8383
public function except($methods)

0 commit comments

Comments
 (0)