Completed
Pull Request — master (#470)
by Claus
01:41
created
src/Component/AbstractComponent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@
 block discarded – undo
216 216
     }
217 217
 
218 218
     /**
219
-     * @param iterable|ComponentInterface[] $children
219
+     * @param ComponentInterface[] $children
220 220
      * @return ComponentInterface
221 221
      */
222 222
     public function setChildren(iterable $children): ComponentInterface
Please login to merge, or discard this patch.
src/Core/Parser/SyntaxTree/BooleanNode.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -135,6 +135,10 @@
 block discarded – undo
135 135
         return $this->convertToBoolean($value);
136 136
     }
137 137
 
138
+    /**
139
+     * @param boolean|null $x
140
+     * @param boolean $y
141
+     */
138 142
     protected function evaluateAndOr($x, $y, string $combiner): bool
139 143
     {
140 144
         switch ($combiner) {
Please login to merge, or discard this patch.
src/View/AbstractView.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     /**
26 26
      * Renders the view
27 27
      *
28
-     * @return mixed The rendered view
28
+     * @return string The rendered view
29 29
      */
30 30
     public function render()
31 31
     {
Please login to merge, or discard this patch.
src/View/TemplatePaths.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -423,7 +423,7 @@  discard block
 block discarded – undo
423 423
      * Sanitize a path, ensuring it is absolute and
424 424
      * if a directory, suffixed by a trailing slash.
425 425
      *
426
-     * @param string|array $path
426
+     * @param string $path
427 427
      * @return string|string[]
428 428
      */
429 429
     protected function sanitizePath($path)
@@ -587,7 +587,7 @@  discard block
 block discarded – undo
587 587
     }
588 588
 
589 589
     /**
590
-     * @param mixed $source
590
+     * @param string $source
591 591
      */
592 592
     public function setTemplateSource($source)
593 593
     {
Please login to merge, or discard this patch.
src/Core/Parser/SyntaxTree/AtomNode.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -22,12 +22,18 @@
 block discarded – undo
22 22
 
23 23
     protected $file;
24 24
     
25
+    /**
26
+     * @param string $name
27
+     */
25 28
     public function setName(?string $name): ComponentInterface
26 29
     {
27 30
         $this->name = $name;
28 31
         return $this;
29 32
     }
30 33
 
34
+    /**
35
+     * @param string $file
36
+     */
31 37
     public function setFile($file): ComponentInterface
32 38
     {
33 39
         $this->file = $file;
Please login to merge, or discard this patch.
src/Core/Parser/TemplateParser.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -70,6 +70,7 @@
 block discarded – undo
70 70
      *
71 71
      * @param Source $source Template source instance
72 72
      * @param Configuration|null Template parsing configuration to use
73
+     * @param Configuration $configuration
73 74
      * @return ComponentInterface Parsed template
74 75
      * @throws Exception
75 76
      */
Please login to merge, or discard this patch.