Completed
Push — master ( f04910...93a703 )
by Edgar
04:06
created
src/svg/container/Pattern.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -115,6 +115,9 @@
 block discarded – undo
115 115
         return self::hatch($container, $patternConfig, $lineConfig, $id)->rotate(90);
116 116
     }
117 117
 
118
+    /**
119
+     * @return ElementInterface
120
+     */
118 121
     public static function diagonalHatch(ContainerInterface $container, array $patternConfig = [], array $lineConfig = [], $id = null)
119 122
     {
120 123
         return self::hatch($container, $patternConfig, $lineConfig, $id)->rotate(45);
Please login to merge, or discard this patch.
src/svg/import/Importer.php 2 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@
 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.
src/svg/util/Identifier.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
     /**
52 52
      * To avoid duplication.
53 53
      *
54
-     * @param $length
54
+     * @param integer $length
55 55
      *
56 56
      * @return int
57 57
      */
Please login to merge, or discard this patch.
src/svg/XMLDocumentInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public function getNodeValue();
21 21
 
22 22
     /**
23
-     * @param array $except Returned array will not contain attributes specified in this array.
23
+     * @param string[] $except Returned array will not contain attributes specified in this array.
24 24
      *
25 25
      * @return array Associative array where the keys are the name of the attribute node.
26 26
      */
Please login to merge, or discard this patch.