Skip to content

Commit

Permalink
Update method call where trait was removed in a0b9313
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga committed Apr 14, 2020
1 parent 86f217c commit e24a6be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/ExtensionServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ protected function registerExtensionsInAppFolder($folder, $requiredClass)

foreach ($this->app['files']->files($path) as $file) {
$class = $file->getBasename('.php');
$fqcn = $this->getAppNamespace() . "{$folder}\\{$class}";
$fqcn = $this->app->getNamespace() . "{$folder}\\{$class}";
if (is_subclass_of($fqcn, $requiredClass)) {
$fqcn::register();
}
Expand Down

0 comments on commit e24a6be

Please sign in to comment.