Completed
Pull Request — master (#34)
by
unknown
15:29
created
src/Stringy.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -249,6 +249,7 @@  discard block
 block discarded – undo
249 249
      * </code>
250 250
      *
251 251
      * @param string ...$suffix <p>The string to append.</p>
252
+     * @param string[] $suffix
252 253
      *
253 254
      * @psalm-mutation-free
254 255
      *
@@ -3048,6 +3049,7 @@  discard block
 block discarded – undo
3048 3049
      * </code>
3049 3050
      *
3050 3051
      * @param string ...$prefix <p>The string to append.</p>
3052
+     * @param string[] $prefix
3051 3053
      *
3052 3054
      * @psalm-mutation-free
3053 3055
      *
@@ -3322,7 +3324,7 @@  discard block
 block discarded – undo
3322 3324
      * </code>
3323 3325
      *
3324 3326
      * @param string[]        $search        <p>The elements to search for.</p>
3325
-     * @param string|string[] $replacement   <p>The string to replace with.</p>
3327
+     * @param string $replacement   <p>The string to replace with.</p>
3326 3328
      * @param bool            $caseSensitive [optional] <p>Whether or not to enforce case-sensitivity. Default: true</p>
3327 3329
      *
3328 3330
      * @psalm-mutation-free
Please login to merge, or discard this patch.
src/CollectionStringy.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * Creates an CollectionInterface object.
16 16
      *
17
-     * @param mixed  $data
17
+     * @param Stringy[]  $data
18 18
      * @param string $iteratorClass
19 19
      * @param bool   $checkPropertiesInConstructor
20 20
      *
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     }
86 86
 
87 87
     /**
88
-     * @param string ...$string
88
+     * @param string string[]
89 89
      *
90 90
      * @return $this
91 91
      */
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     }
101 101
 
102 102
     /**
103
-     * @param Stringy ...$stringy
103
+     * @param Stringy Stringy[]
104 104
      *
105 105
      * @return $this
106 106
      */
Please login to merge, or discard this patch.