Completed
Push — master ( 42714b...e7f869 )
by Mihail
02:10
created
src/Ffcms/Core/Helper/Type/Str.php 1 patch
Doc Comments   +5 added lines, -8 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      * Find first entry in $string before $delimiter
58 58
      * @param string $string
59 59
      * @param string $delimiter
60
-     * @return string|bool
60
+     * @return false|string
61 61
      */
62 62
     public static function firstIn($string, $delimiter)
63 63
     {
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
      * @param string $string
73 73
      * @param string $delimiter
74 74
      * @param bool $withoutDelimiter
75
-     * @return string|bool
75
+     * @return false|string
76 76
      */
77 77
     public static function lastIn($string, $delimiter, $withoutDelimiter = false)
78 78
     {
@@ -214,8 +214,8 @@  discard block
 block discarded – undo
214 214
 
215 215
     /**
216 216
      * Case-ignore replace $needle to $replacement in string $haystack. Alias for function str_ireplace()
217
-     * @param string|array $needle
218
-     * @param string|array $replacement
217
+     * @param string[] $needle
218
+     * @param string $replacement
219 219
      * @param string $haystack
220 220
      * @return string
221 221
      */
@@ -310,7 +310,7 @@  discard block
 block discarded – undo
310 310
     /**
311 311
      * Check is $string sounds like a phone number
312 312
      * @param string $string
313
-     * @return int
313
+     * @return boolean
314 314
      */
315 315
     public static function isPhone($string)
316 316
     {
@@ -319,9 +319,6 @@  discard block
 block discarded – undo
319 319
 
320 320
     /**
321 321
      * Concat string with add string by separator
322
-     * @param string $separator
323
-     * @param string $string1
324
-     * @param string $string2
325 322
      * @return string
326 323
      */
327 324
     public static function concat()
Please login to merge, or discard this patch.