Completed
Push — master ( fb3943...fbbc4e )
by Edgar
04:02
created
src/svg/import/Importer.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
     /**
110 110
      * @param \DOMElement $element
111 111
      *
112
-     * @param             $parent
112
+     * @param             null|ElementInterface $parent
113 113
      *
114 114
      * @return ElementInterface
115 115
      */
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
     /**
149 149
      * @param \DOMElement       $element
150 150
      *
151
-     * @param             array $attrs
151
+     * @param             string $attrs
152 152
      *
153 153
      * @return array
154 154
      */
Please login to merge, or discard this 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.
src/svg/util/KeyValueWriter.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -43,6 +43,10 @@
 block discarded – undo
43 43
         return self::array2String($input, ':', ';');
44 44
     }
45 45
 
46
+    /**
47
+     * @param string $keyValueDelimiter
48
+     * @param string $valueEndDelimiter
49
+     */
46 50
     public static function array2String(array $input, $keyValueDelimiter, $valueEndDelimiter)
47 51
     {
48 52
         $ret = '';
Please login to merge, or discard this patch.