Skip to content

Commit 63e21a3

Browse files
Amrit01patrickbrouwers
authored andcommitted
Improved checking if framework is Lumen or not
1 parent 980d219 commit 63e21a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DoctrineServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,6 @@ public function provides()
282282
*/
283283
protected function isLumen()
284284
{
285-
return !function_exists('config_path');
285+
return str_contains($this->app->version(), 'Lumen');
286286
}
287287
}

0 commit comments

Comments
 (0)