mirror of
https://github.com/predis/predis.git
synced 2026-08-19 00:51:56 +00:00
Use static instead of self.
This commit is contained in:
@@ -48,7 +48,7 @@ class RawCommand implements CommandInterface
|
||||
public static function create($commandID /* [ $arg, ... */)
|
||||
{
|
||||
$arguments = func_get_args();
|
||||
$command = new self(array_shift($arguments), $arguments);
|
||||
$command = new static(array_shift($arguments), $arguments);
|
||||
|
||||
return $command;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user