explicitly mark nullable parameters as nullable (#1448)

* explicitly mark nullable parameters as nullable
* add job to run tests with PHP 8.4
This commit is contained in:
Christian Flothmann
2024-04-30 21:14:13 +02:00
committed by GitHub
parent ed90750c1f
commit e83b393e09
28 changed files with 89 additions and 88 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ class RedisCommandConstraint extends \PHPUnit\Framework\Constraint\Constraint
* @param string|CommandInterface $command Expected command instance or command ID
* @param ?array $arguments Expected command arguments
*/
public function __construct($command, array $arguments = null)
public function __construct($command, ?array $arguments = null)
{
if ($command instanceof CommandInterface) {
$this->commandID = strtoupper($command->getId());