Skip to content

Commit 953e34d

Browse files
fix providers class loader
1 parent a762c3c commit 953e34d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ModulatorServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ protected function registerProviders()
146146

147147
// Register the exists providers
148148
foreach ($finder->list as $provider) {
149-
if (class_exists($provider, false)) {
149+
if (file_exists(base_path('a' . substr(str_replace('\\', '/', $provider), 1) . '.php'))) {
150150
$this->app->register($provider);
151151
}
152152
}

0 commit comments

Comments
 (0)