Completed
Push — master ( 3c0230...c57a6a )
by Mathias
24s
created
src/Core/ViewHelper/TagBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     {
177 177
         $this->ignoreEmptyAttributes = $ignoreEmptyAttributes;
178 178
         if ($ignoreEmptyAttributes) {
179
-            $this->attributes = array_filter($this->attributes, function ($item) { return trim((string) $item) !== ''; });
179
+            $this->attributes = array_filter($this->attributes, function($item) { return trim((string) $item) !== ''; });
180 180
         }
181 181
     }
182 182
 
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
                 return;
206 206
             }
207 207
             if ($escapeSpecialCharacters) {
208
-                $attributeValue = htmlspecialchars((string)$attributeValue);
208
+                $attributeValue = htmlspecialchars((string) $attributeValue);
209 209
             }
210 210
             $this->attributes[$attributeName] = $attributeValue;
211 211
         }
Please login to merge, or discard this patch.