@@ -3,11 +3,8 @@ |
||
| 3 | 3 | |
| 4 | 4 | namespace Selami\View\Twig; |
| 5 | 5 | |
| 6 | -use Selami\Stdlib\CaseConverter; |
|
| 7 | 6 | use Selami\View\ExtensionsAbstract; |
| 8 | 7 | use Twig_Environment; |
| 9 | -use InvalidArgumentException; |
|
| 10 | -use BadMethodCallException; |
|
| 11 | 8 | use Twig_SimpleFunction; |
| 12 | 9 | |
| 13 | 10 | /** |
@@ -49,6 +49,9 @@ |
||
| 49 | 49 | return str_replace('(items)', $items, $this->parentTemplate); |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | + /** |
|
| 53 | + * @param integer $useEllipses |
|
| 54 | + */ |
|
| 52 | 55 | private function getItem(int $i, $renderedEllipses, $useEllipses) : array |
| 53 | 56 | { |
| 54 | 57 | $values = [ |