Remove unneeded "use" imports.

This commit is contained in:
Daniele Alessandri
2015-07-24 19:05:28 +02:00
parent c436e01353
commit 7282ca2b52
40 changed files with 78 additions and 149 deletions
+4 -7
View File
@@ -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'."
);