Changed redeclaration error and added single return
@@ -15,7 +15,7 @@ namespace Predis\Command;
* @link http://redis.io/commands/bitpos
* @author Daniele Alessandri <suppakilla@gmail.com>
*/
-class StringBitCount extends Command
+class StringBitPos extends Command
{
/**
* {@inheritdoc}
@@ -75,4 +75,4 @@ class StringBitPosTest extends PredisCommandTestCase
$redis->lpush('key', 'list');
$redis->bitpos('key');
}
-}
+}