From a1977c1b619e0aa2202223488f7b95e06e429da4 Mon Sep 17 00:00:00 2001 From: nicchap Date: Thu, 18 Dec 2014 12:15:54 -0500 Subject: [PATCH] Edited typos Changed redeclaration error and added single return --- src/Command/StringBitPos.php | 2 +- tests/Predis/Command/StringBitPosTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Command/StringBitPos.php b/src/Command/StringBitPos.php index 2fbad5cd..41f22721 100644 --- a/src/Command/StringBitPos.php +++ b/src/Command/StringBitPos.php @@ -15,7 +15,7 @@ namespace Predis\Command; * @link http://redis.io/commands/bitpos * @author Daniele Alessandri */ -class StringBitCount extends Command +class StringBitPos extends Command { /** * {@inheritdoc} diff --git a/tests/Predis/Command/StringBitPosTest.php b/tests/Predis/Command/StringBitPosTest.php index 94ea5a7c..5a9f557f 100644 --- a/tests/Predis/Command/StringBitPosTest.php +++ b/tests/Predis/Command/StringBitPosTest.php @@ -75,4 +75,4 @@ class StringBitPosTest extends PredisCommandTestCase $redis->lpush('key', 'list'); $redis->bitpos('key'); } -} \ No newline at end of file +}