Skip to content

Commit 3559497

Browse files
authored
Fix Stringable::convertCase() return type (#49590)
Return type was _string_ instead of _static_, broking method chaining on IDEs.
1 parent 840c8d6 commit 3559497

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Support/Stringable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public function containsAll($needles, $ignoreCase = false)
205205
*
206206
* @param int $mode
207207
* @param string $encoding
208-
* @return string
208+
* @return static
209209
*/
210210
public function convertCase(int $mode = MB_CASE_FOLD, ?string $encoding = 'UTF-8')
211211
{

0 commit comments

Comments
 (0)