Completed
Push — master ( 5c097e...be1d3a )
by Edgar
04:05
created
src/svg/shape/PathBounds.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,9 @@
 block discarded – undo
215 215
      */
216 216
     private function getLastData()
217 217
     {
218
-        if (empty($this->data)) return [];
218
+        if (empty($this->data)) {
219
+            return [];
220
+        }
219 221
         $prevData = $this->data[count($this->data) - 1];
220 222
         $prevData = $prevData[key($prevData)];
221 223
 
Please login to merge, or discard this patch.
src/svg/import/Importer.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,9 @@
 block discarded – undo
176 176
     {
177 177
         /** @var \DOMElement $item */
178 178
         foreach ($element->childNodes as $key => $item) {
179
-            if ($item instanceof \DOMText) continue;
179
+            if ($item instanceof \DOMText) {
180
+                continue;
181
+            }
180 182
             $parent = $this->toObject($item, $obj);
181 183
             if ($item->hasChildNodes() && $parent !== null) {
182 184
                 $this->buildObjectTree($item, $parent);
Please login to merge, or discard this patch.