Completed
Push — master ( 5c097e...be1d3a )
by Edgar
04:05
created
src/svg/container/SVG.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     /**
49 49
      * @param array $assoc
50 50
      *
51
-     * @return mixed
51
+     * @return SVG
52 52
      */
53 53
     public function apply(array $assoc)
54 54
     {
Please login to merge, or discard this patch.
src/svg/gradient/Gradient.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     }
26 26
 
27 27
     /**
28
-     * @param Stop|Stop[] $stops
28
+     * @param Stop $stops
29 29
      */
30 30
     public function appendStop(Stop $stops)
31 31
     {
Please login to merge, or discard this patch.
src/svg/traits/ElementTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 trait ElementTrait
14 14
 {
15 15
     /**
16
-     * @param ElementInterface|ElementInterface[] $elements
16
+     * @param ElementInterface $elements
17 17
      *
18 18
      * @return $this
19 19
      */
Please login to merge, or discard this patch.
src/svg/util/Identifier.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -20,6 +20,10 @@
 block discarded – undo
20 20
         return $tag . (++$count);
21 21
     }
22 22
 
23
+    /**
24
+     * @param string $prefix
25
+     * @param integer $length
26
+     */
23 27
     public static function random($prefix, $length)
24 28
     {
25 29
         $length = intval($length);
Please login to merge, or discard this patch.
src/svg/traits/ChildTrait.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -65,6 +65,7 @@
 block discarded – undo
65 65
 
66 66
     /**
67 67
      * @inheritdoc
68
+     * @return ElementInterface
68 69
      */
69 70
     public function getFirstChild()
70 71
     {
Please login to merge, or discard this patch.
src/svg/traits/TransformTrait.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @inheritdoc
32
+     * @param integer $angle
32 33
      */
33 34
     public function rotate($angle, $cx = null, $cy = null)
34 35
     {
Please login to merge, or discard this patch.
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 1 patch
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.
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.