Completed
Push — master ( 0bc5ab...58d080 )
by Nathan
02:14
created
src/NatePage/EasyHtmlElement/Element.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@  discard block
 block discarded – undo
23 23
     protected $parent;
24 24
 
25 25
     public function __construct(
26
-        ?string $type = null,
27
-        ?string $text = null,
26
+        ? string $type = null,
27
+        ? string $text = null,
28 28
         array $attributes = array(),
29 29
         array $children = array()
30 30
     )
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
     /**
234 234
      * {@inheritdoc}
235 235
      */
236
-    public function setParent(?ElementInterface $parent = null): ElementInterface
236
+    public function setParent(? ElementInterface $parent = null) : ElementInterface
237 237
     {
238 238
         $this->parent = $parent;
239 239
 
Please login to merge, or discard this patch.
src/NatePage/EasyHtmlElement/ElementInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,14 +114,14 @@
 block discarded – undo
114 114
      *
115 115
      * @return ElementInterface
116 116
      */
117
-    public function setParent(?ElementInterface $parent = null): self;
117
+    public function setParent(? ElementInterface $parent = null) : self;
118 118
 
119 119
     /**
120 120
      * Get element parent.
121 121
      *
122 122
      * @return ElementInterface|null
123 123
      */
124
-    public function getParent(): ?self;
124
+    public function getParent(): ? self;
125 125
 
126 126
     /**
127 127
      * Render element.
Please login to merge, or discard this patch.