Skip to content

Commit 2b82267

Browse files
committed
Deprecate str_lower and str_upper functions
1 parent c95f560 commit 2b82267

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/str.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
*
77
* @param string $string
88
* @return string
9+
*
10+
* @deprecated Use Illuminate\Support\Str::lower() instead.
911
*/
1012
function str_lower(string $string)
1113
{
@@ -19,6 +21,8 @@ function str_lower(string $string)
1921
*
2022
* @param string $string
2123
* @return string
24+
*
25+
* @deprecated Use Illuminate\Support\Str::upper() instead.
2226
*/
2327
function str_upper(string $string)
2428
{

0 commit comments

Comments
 (0)