Skip to content

Commit 4539b55

Browse files
committed
Updating legacy str helper function call
1 parent 7e29c54 commit 4539b55

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/LaravelApiExplorer.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use Route;
66
use ReflectionParameter;
77
use ReflectionMethod;
8+
use Illuminate\Support\Str;
89

910
class LaravelApiExplorer
1011
{
@@ -73,8 +74,8 @@ private function filterRoutes($routes)
7374
$uri = trim($route->uri(), '/');
7475

7576
if (
76-
!str_is($match, $name) &&
77-
!str_is($match, $uri)
77+
!Str::is($match, $name) &&
78+
!Str::is($match, $uri)
7879
) {
7980
continue;
8081
}

0 commit comments

Comments
 (0)