Completed
Push — master ( b5bb9d...38f7c0 )
by f
02:02
created
src/S.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     /**
18 18
      * Sets encoding for all operations
19 19
      * @param string $encoding
20
-     * @return bool
20
+     * @return boolean|null
21 21
      */
22 22
     public static function setEncoding($encoding)
23 23
     {
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      * @param string $string
57 57
      * @param int $start
58 58
      * @param int|null $end
59
-     * @return bool|string
59
+     * @return string|false
60 60
      */
61 61
     public static function slice($string, $start, $end = null)
62 62
     {
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 
92 92
     /**
93 93
      * Upper case.
94
-     * @param $string
94
+     * @param boolean|string $string
95 95
      * @return bool|string
96 96
      */
97 97
     public static function upper($string)
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
     /**
107 107
      * Name case. (ex: Thomas, Lewis). Works properly with separated by '-' words
108
-     * @param $string
108
+     * @param string|boolean $string
109 109
      * @return bool|string
110 110
      */
111 111
     public static function name($string)
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
     /**
140 140
      * @param string $string
141 141
      * @param string $char
142
-     * @return bool|string
142
+     * @return integer
143 143
      */
144 144
     public static function findFirstPosition($string, $char)
145 145
     {
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
     /**
154 154
      * @param string $string
155 155
      * @param string $char
156
-     * @return bool|string
156
+     * @return integer
157 157
      */
158 158
     public static function findLastPosition($string, $char)
159 159
     {
@@ -165,9 +165,9 @@  discard block
 block discarded – undo
165 165
     }
166 166
 
167 167
     /**
168
-     * @param $string
168
+     * @param boolean|string $string
169 169
      * @param array $chars
170
-     * @return bool|string
170
+     * @return string|false
171 171
      */
172 172
     public static function findLastPositionForOneOfChars($string, array $chars)
173 173
     {
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
 
192 192
     /**
193 193
      * @param $string
194
-     * @param $substring
194
+     * @param string $substring
195 195
      * @param bool $caseSensetive
196 196
      * @param int $startOffset
197 197
      * @return string|false
Please login to merge, or discard this patch.