Specify type hint in interface.

This commit is contained in:
Daniele Alessandri
2014-07-30 11:31:31 +02:00
parent 16f2d8a768
commit ab9cbe712f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -55,5 +55,5 @@ interface ProfileInterface
*
* @return CommandInterface
*/
public function createCommand($commandID, $arguments = array());
public function createCommand($commandID, array $arguments = array());
}
+1 -1
View File
@@ -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);