Skip to content

Commit 67bb943

Browse files
Merge pull request #12 from hexadog/develop
feat(composer): Add Laravel 10 support
2 parents 189abc2 + 3f067b0 commit 67bb943

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Providers/PackageServiceProvider.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Illuminate\Routing\Router;
1111
use Illuminate\Support\ServiceProvider;
1212
use Illuminate\Support\Str;
13-
use ReflectionClass;
1413

1514
class PackageServiceProvider extends ServiceProvider
1615
{
@@ -78,7 +77,7 @@ public function provides()
7877
protected function getPath($path = '')
7978
{
8079
// We get the child class
81-
$rc = new ReflectionClass(get_class($this));
80+
$rc = new \ReflectionClass(get_class($this));
8281

8382
return dirname($rc->getFileName()) . '/../../' . $path;
8483
}

0 commit comments

Comments
 (0)