mirror of
https://github.com/predis/predis.git
synced 2026-08-28 11:09:49 +00:00
Specify type hint in interface.
This commit is contained in:
@@ -55,5 +55,5 @@ interface ProfileInterface
|
||||
*
|
||||
* @return CommandInterface
|
||||
*/
|
||||
public function createCommand($commandID, $arguments = array());
|
||||
public function createCommand($commandID, array $arguments = array());
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ abstract class RedisProfile implements ProfileInterface
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function createCommand($commandID, $arguments = array())
|
||||
public function createCommand($commandID, array $arguments = array())
|
||||
{
|
||||
$commandID = strtoupper($commandID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user