Passed
Push — develop ( acf7d3...ede307 )
by nguereza
10:23
created
src/Tag/IfTag.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -76,8 +76,8 @@  discard block
 block discarded – undo
76 76
     protected array $blocks = [];
77 77
 
78 78
     /**
79
-    * {@inheritdoc}
80
-    */
79
+     * {@inheritdoc}
80
+     */
81 81
     public function __construct(string $markup, array &$tokens, Parser $parser)
82 82
     {
83 83
         //Initialize
@@ -89,8 +89,8 @@  discard block
 block discarded – undo
89 89
     }
90 90
 
91 91
     /**
92
-    * {@inheritdoc}
93
-    */
92
+     * {@inheritdoc}
93
+     */
94 94
     public function render(Context $context): string
95 95
     {
96 96
         $context->push();
@@ -216,8 +216,8 @@  discard block
 block discarded – undo
216 216
     }
217 217
 
218 218
     /**
219
-    * {@inheritdoc}
220
-    */
219
+     * {@inheritdoc}
220
+     */
221 221
     protected function unknownTag(string $tag, string $param, array $tokens): void
222 222
     {
223 223
         if ($tag === 'else' || $tag === 'elseif') {
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@  discard block
 block discarded – undo
60 60
  * @class IfTag
61 61
  * @package Platine\Template\Tag
62 62
  */
63
-class IfTag extends AbstractCondition
64
-{
63
+class IfTag extends AbstractCondition {
65 64
     /**
66 65
      * holding the nodes to render for each logical block
67 66
      * @var array<int, mixed>
@@ -78,8 +77,7 @@  discard block
 block discarded – undo
78 77
     /**
79 78
     * {@inheritdoc}
80 79
     */
81
-    public function __construct(string $markup, array &$tokens, Parser $parser)
82
-    {
80
+    public function __construct(string $markup, array &$tokens, Parser $parser) {
83 81
         //Initialize
84 82
         $this->nodeListHolders[count($this->blocks)] = [];
85 83
         $this->nodeList = & $this->nodeListHolders[count($this->blocks)];
Please login to merge, or discard this patch.