@@ -435,7 +435,7 @@ |
||
| 435 | 435 | |
| 436 | 436 | /** |
| 437 | 437 | * Cycle through the nests to see if an item is protected |
| 438 | - * @param $item |
|
| 438 | + * @param string $item |
|
| 439 | 439 | */ |
| 440 | 440 | protected function checkIfProtected($item) |
| 441 | 441 | { |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | * For instance, if you want to decode Yaml files with the extensions ".yml" and ".yaml", |
| 32 | 32 | * then you want to set the return array to ['yaml', 'yml']. |
| 33 | 33 | * |
| 34 | - * @return array |
|
| 34 | + * @return string[] |
|
| 35 | 35 | */ |
| 36 | 36 | public function getMimeType() |
| 37 | 37 | { |
@@ -103,7 +103,7 @@ |
||
| 103 | 103 | /** |
| 104 | 104 | * Turns a dependency into a singleton. |
| 105 | 105 | * @param $alias |
| 106 | - * @return mixed |
|
| 106 | + * @return ManagesIocTrait |
|
| 107 | 107 | */ |
| 108 | 108 | public function share($alias) |
| 109 | 109 | { |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | * Process file bag to load into the data manager. |
| 102 | 102 | * A file bag is an array of SplFileInfo objects. |
| 103 | 103 | * |
| 104 | - * @param array|FileBag $fileBag |
|
| 104 | + * @param FileBag $fileBag |
|
| 105 | 105 | * @return array |
| 106 | 106 | * @throws Exception |
| 107 | 107 | */ |
@@ -172,7 +172,7 @@ discard block |
||
| 172 | 172 | * Default decoder class factory method. |
| 173 | 173 | * Checks to make sure we have a default decoder available and if so, adds it as a decoder to the file loader. |
| 174 | 174 | * |
| 175 | - * @param $mimeType |
|
| 175 | + * @param string $mimeType |
|
| 176 | 176 | */ |
| 177 | 177 | protected function checkAndAddDefaultDecoder($mimeType) |
| 178 | 178 | { |
@@ -409,6 +409,10 @@ |
||
| 409 | 409 | } |
| 410 | 410 | |
| 411 | 411 | // line 223 |
| 412 | + |
|
| 413 | + /** |
|
| 414 | + * @param integer $__depth__ |
|
| 415 | + */ |
|
| 412 | 416 | public function getelement($__tree__ = null, $__opened__ = null, $__depth__ = null, ...$__varargs__) |
| 413 | 417 | { |
| 414 | 418 | $context = $this->env->mergeGlobals(array( |
@@ -241,10 +241,10 @@ discard block |
||
| 241 | 241 | $context['_parent'] = $context; |
| 242 | 242 | $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["class"]) ? $context["class"] : $this->getContext($context, "class")), "interfaces", array())); |
| 243 | 243 | $context['loop'] = array( |
| 244 | - 'parent' => $context['_parent'], |
|
| 245 | - 'index0' => 0, |
|
| 246 | - 'index' => 1, |
|
| 247 | - 'first' => true, |
|
| 244 | + 'parent' => $context['_parent'], |
|
| 245 | + 'index0' => 0, |
|
| 246 | + 'index' => 1, |
|
| 247 | + 'first' => true, |
|
| 248 | 248 | ); |
| 249 | 249 | if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) { |
| 250 | 250 | $length = count($context['_seq']); |
@@ -560,10 +560,10 @@ discard block |
||
| 560 | 560 | $context['_parent'] = $context; |
| 561 | 561 | $context['_seq'] = twig_ensure_traversable((isset($context["methods"]) ? $context["methods"] : $this->getContext($context, "methods"))); |
| 562 | 562 | $context['loop'] = array( |
| 563 | - 'parent' => $context['_parent'], |
|
| 564 | - 'index0' => 0, |
|
| 565 | - 'index' => 1, |
|
| 566 | - 'first' => true, |
|
| 563 | + 'parent' => $context['_parent'], |
|
| 564 | + 'index0' => 0, |
|
| 565 | + 'index' => 1, |
|
| 566 | + 'first' => true, |
|
| 567 | 567 | ); |
| 568 | 568 | if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) { |
| 569 | 569 | $length = count($context['_seq']); |
@@ -646,10 +646,10 @@ discard block |
||
| 646 | 646 | $context['_parent'] = $context; |
| 647 | 647 | $context['_seq'] = twig_ensure_traversable((isset($context["methods"]) ? $context["methods"] : $this->getContext($context, "methods"))); |
| 648 | 648 | $context['loop'] = array( |
| 649 | - 'parent' => $context['_parent'], |
|
| 650 | - 'index0' => 0, |
|
| 651 | - 'index' => 1, |
|
| 652 | - 'first' => true, |
|
| 649 | + 'parent' => $context['_parent'], |
|
| 650 | + 'index0' => 0, |
|
| 651 | + 'index' => 1, |
|
| 652 | + 'first' => true, |
|
| 653 | 653 | ); |
| 654 | 654 | if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) { |
| 655 | 655 | $length = count($context['_seq']); |
@@ -227,10 +227,10 @@ discard block |
||
| 227 | 227 | $context['_parent'] = $context; |
| 228 | 228 | $context['_seq'] = twig_ensure_traversable((isset($context["hints"]) ? $context["hints"] : $this->getContext($context, "hints"))); |
| 229 | 229 | $context['loop'] = array( |
| 230 | - 'parent' => $context['_parent'], |
|
| 231 | - 'index0' => 0, |
|
| 232 | - 'index' => 1, |
|
| 233 | - 'first' => true, |
|
| 230 | + 'parent' => $context['_parent'], |
|
| 231 | + 'index0' => 0, |
|
| 232 | + 'index' => 1, |
|
| 233 | + 'first' => true, |
|
| 234 | 234 | ); |
| 235 | 235 | if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) { |
| 236 | 236 | $length = count($context['_seq']); |
@@ -406,10 +406,10 @@ discard block |
||
| 406 | 406 | $context['_parent'] = $context; |
| 407 | 407 | $context['_seq'] = twig_ensure_traversable($this->getAttribute((isset($context["method"]) ? $context["method"] : $this->getContext($context, "method")), "parameters", array())); |
| 408 | 408 | $context['loop'] = array( |
| 409 | - 'parent' => $context['_parent'], |
|
| 410 | - 'index0' => 0, |
|
| 411 | - 'index' => 1, |
|
| 412 | - 'first' => true, |
|
| 409 | + 'parent' => $context['_parent'], |
|
| 410 | + 'index0' => 0, |
|
| 411 | + 'index' => 1, |
|
| 412 | + 'first' => true, |
|
| 413 | 413 | ); |
| 414 | 414 | if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) { |
| 415 | 415 | $length = count($context['_seq']); |