Skip to content

Commit 73a2e98

Browse files
Fix provider registeration
1 parent 710608a commit 73a2e98

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
@@ -160,7 +160,7 @@ protected function registerProviders()
160160

161161
// Register the exists providers
162162
foreach ($finder->list as $provider) {
163-
if (file_exists(base_path('a' . substr(str_replace('\\', '/', $provider), 1) . '.php'))) {
163+
if (class_exists($provider)) {
164164
$this->app->register($provider);
165165
}
166166
}

0 commit comments

Comments
 (0)