Skip to content

Commit

Permalink
Updating legacy str helper function call
Browse files Browse the repository at this point in the history
  • Loading branch information
netojose committed Oct 6, 2019
1 parent 7e29c54 commit 4539b55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/LaravelApiExplorer.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Route;
use ReflectionParameter;
use ReflectionMethod;
use Illuminate\Support\Str;

class LaravelApiExplorer
{
Expand Down Expand Up @@ -73,8 +74,8 @@ private function filterRoutes($routes)
$uri = trim($route->uri(), '/');

if (
!str_is($match, $name) &&
!str_is($match, $uri)
!Str::is($match, $name) &&
!Str::is($match, $uri)
) {
continue;
}
Expand Down

0 comments on commit 4539b55

Please sign in to comment.