Completed
Pull Request — master (#33)
by Viktor
20:24 queued 05:33
created
src/CollectionStringy.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     }
60 60
 
61 61
     /**
62
-     * @param string ...$string
62
+     * @param string string[]
63 63
      *
64 64
      * @return $this
65 65
      *
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     }
76 76
 
77 77
     /**
78
-     * @param Stringy ...$stringy
78
+     * @param Stringy Stringy[]
79 79
      *
80 80
      * @return $this
81 81
      */
Please login to merge, or discard this patch.
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.