Skip to content

Commit 046fb78

Browse files
committed
Move StringBuffer class.
1 parent be43fad commit 046fb78

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Connection/AbstractConnection.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use SplQueue;
1616
use Predis\Command\CommandInterface;
1717
use Predis\Connection\ParametersInterface;
18-
use Predis\Async\Buffer\StringBuffer;
1918
use React\EventLoop\LoopInterface;
2019

2120
abstract class AbstractConnection implements ConnectionInterface
@@ -40,7 +39,7 @@ public function __construct(ParametersInterface $parameters, LoopInterface $loop
4039
$this->parameters = $parameters;
4140
$this->loop = $loop;
4241

43-
$this->buffer = new StringBuffer();
42+
$this->buffer = new Buffer\StringBuffer();
4443
$this->commands = new SplQueue();
4544
$this->readableCallback = array($this, 'read');
4645
$this->writableCallback = array($this, 'write');
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Predis\Async\Buffer;
12+
namespace Predis\Async\Connection\Buffer;
1313

1414
/**
1515
* Simple string buffer class.

0 commit comments

Comments
 (0)