mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-10 09:26:29 +00:00
fixed CS
This commit is contained in:
@@ -332,7 +332,7 @@ final class CoreTestIterator implements Iterator
|
||||
return $this->array[$this->key()];
|
||||
}
|
||||
|
||||
throw new \LogicException('Code should only use the keys, not the values provided by iterator.');
|
||||
throw new LogicException('Code should only use the keys, not the values provided by iterator.');
|
||||
}
|
||||
|
||||
public function key()
|
||||
@@ -344,7 +344,7 @@ final class CoreTestIterator implements Iterator
|
||||
{
|
||||
++$this->position;
|
||||
if ($this->position === $this->maxPosition) {
|
||||
throw new \LogicException(sprintf('Code should not iterate beyond %d.', $this->maxPosition));
|
||||
throw new LogicException(sprintf('Code should not iterate beyond %d.', $this->maxPosition));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user