move 'is' method to the str class where it belongs.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php namespace Laravel\Routing;
|
||||
|
||||
use Closure;
|
||||
use Laravel\Str;
|
||||
use Laravel\URI;
|
||||
use Laravel\Bundle;
|
||||
use Laravel\Request;
|
||||
@@ -198,7 +199,7 @@ class Route {
|
||||
// if they match we'll attach the filter.
|
||||
foreach (Filter::$patterns as $pattern => $filter)
|
||||
{
|
||||
if (URI::is($pattern, $this->uri))
|
||||
if (Str::is($pattern, $this->uri))
|
||||
{
|
||||
$filters[] = $filter;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user