diff --git a/src/Profile/ProfileInterface.php b/src/Profile/ProfileInterface.php index 6f875a07..abe71aa6 100644 --- a/src/Profile/ProfileInterface.php +++ b/src/Profile/ProfileInterface.php @@ -55,5 +55,5 @@ interface ProfileInterface * * @return CommandInterface */ - public function createCommand($commandID, $arguments = array()); + public function createCommand($commandID, array $arguments = array()); } diff --git a/src/Profile/RedisProfile.php b/src/Profile/RedisProfile.php index 659ce42b..df69e9a9 100644 --- a/src/Profile/RedisProfile.php +++ b/src/Profile/RedisProfile.php @@ -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);