Skip to content

Commit f99f4d3

Browse files
Merge pull request #5 from ryan-senn/patch-1
Improved checking if framework is Lumen or not
2 parents 2aa3f6c + 29d70be commit f99f4d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MigrationsServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@ public function provides()
9090
*/
9191
protected function isLumen()
9292
{
93-
return !function_exists('config_path');
93+
return str_contains($this->app->version(), 'Lumen');
9494
}
9595
}

0 commit comments

Comments
 (0)