Explorar o código

Edited typos

Changed redeclaration error and added single return
nicchap %!s(int64=10) %!d(string=hai) anos
pai
achega
a1977c1b61
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      src/Command/StringBitPos.php
  2. 1 1
      tests/Predis/Command/StringBitPosTest.php

+ 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');
     }
-}
+}