mirror of
https://github.com/predis/predis.git
synced 2026-10-08 21:06:44 +00:00
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:
committed by
GitHub
parent
ed90750c1f
commit
e83b393e09
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user