Skip to content

Commit 8093f49

Browse files
committed
IHF: Illuminate dependency removed.
1 parent 5188f22 commit 8093f49

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/str.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
<?php
22

3-
use Illuminate\Support\Str;
4-
53
if (!function_exists('str_lower')) {
64
function str_lower($string)
75
{
8-
return Str::lower($string);
6+
return mb_strtolower($string, 'UTF-8');
97
}
108
}
119

1210
if (!function_exists('str_upper')) {
1311
function str_upper($string)
1412
{
15-
return Str::upper($string);
13+
return mb_strtoupper($string, 'UTF-8');
1614
}
1715
}

0 commit comments

Comments
 (0)