mirror of
https://github.com/predis/predis.git
synced 2026-10-15 16:26:48 +00:00
Remove unneeded "use" imports.
This commit is contained in:
@@ -11,9 +11,6 @@
|
||||
|
||||
namespace Predis\Command\Processor;
|
||||
|
||||
use ArrayAccess;
|
||||
use ArrayIterator;
|
||||
use InvalidArgumentException;
|
||||
use Predis\Command\CommandInterface;
|
||||
|
||||
/**
|
||||
@@ -21,7 +18,7 @@ use Predis\Command\CommandInterface;
|
||||
*
|
||||
* @author Daniele Alessandri <suppakilla@gmail.com>
|
||||
*/
|
||||
class ProcessorChain implements ArrayAccess, ProcessorInterface
|
||||
class ProcessorChain implements \ArrayAccess, ProcessorInterface
|
||||
{
|
||||
private $processors = array();
|
||||
|
||||
@@ -74,11 +71,11 @@ class ProcessorChain implements ArrayAccess, ProcessorInterface
|
||||
/**
|
||||
* Returns an iterator over the list of command processor in the chain.
|
||||
*
|
||||
* @return ArrayIterator
|
||||
* @return \ArrayIterator
|
||||
*/
|
||||
public function getIterator()
|
||||
{
|
||||
return new ArrayIterator($this->processors);
|
||||
return new \ArrayIterator($this->processors);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -113,7 +110,7 @@ class ProcessorChain implements ArrayAccess, ProcessorInterface
|
||||
public function offsetSet($index, $processor)
|
||||
{
|
||||
if (!$processor instanceof ProcessorInterface) {
|
||||
throw new InvalidArgumentException(
|
||||
throw new \InvalidArgumentException(
|
||||
'A processor chain accepts only instances of '.
|
||||
"'Predis\Command\Processor\ProcessorInterface'."
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user