Ver Fonte

Edited typos

Changed redeclaration error and added single return
nicchap há 10 anos atrás
pai
commit
a1977c1b61

+ 1 - 1
src/Command/StringBitPos.php

@@ -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}

+ 1 - 1
tests/Predis/Command/StringBitPosTest.php

@@ -75,4 +75,4 @@ class StringBitPosTest extends PredisCommandTestCase
         $redis->lpush('key', 'list');
         $redis->bitpos('key');
     }
-}
+}