Completed
Push — master ( ab5a7e...8890b1 )
by Adam
02:47
created
src/Internet/Html/Element/Attribute.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         'autofocus'    => [ 'button', 'input', 'keygen', 'select', 'textarea' ],
114 114
         'autoplay'     => [ 'audio', 'video' ],
115 115
         'autosave'     => [ 'input' ],
116
-        'bgcolor'      => [ 'body', 'col', 'colgroup', 'table', 'tbody', 'tfoot','td', 'th', 'tr' ],
116
+        'bgcolor'      => [ 'body', 'col', 'colgroup', 'table', 'tbody', 'tfoot', 'td', 'th', 'tr' ],
117 117
         'border'       => [ 'img', 'object', 'table' ],
118 118
         'buffered'     => [ 'audio', 'video' ],
119 119
         'challenge'    => [ 'keygen' ],
@@ -214,8 +214,8 @@  discard block
 block discarded – undo
214 214
      */
215 215
     public function __construct($value)
216 216
     {
217
-        if (! in_array($value, array_merge($this->global, array_keys($this->elements)))) {
218
-            throw new \InvalidArgumentException('[' . $value . '] is not a valid HTML Attribute');
217
+        if (!in_array($value, array_merge($this->global, array_keys($this->elements)))) {
218
+            throw new \InvalidArgumentException('['.$value.'] is not a valid HTML Attribute');
219 219
         }
220 220
 
221 221
         parent::__construct($value);
Please login to merge, or discard this patch.
src/Internet/Html/Element.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,8 +151,8 @@
 block discarded – undo
151 151
      */
152 152
     public function __construct($value)
153 153
     {
154
-        if (! in_array($value, $this->elements)) {
155
-            throw new \InvalidArgumentException('[' . $value . '] is not a valid HTML element');
154
+        if (!in_array($value, $this->elements)) {
155
+            throw new \InvalidArgumentException('['.$value.'] is not a valid HTML element');
156 156
         }
157 157
 
158 158
         parent::__construct($value);
Please login to merge, or discard this patch.