We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 605e4db commit d9c7052Copy full SHA for d9c7052
Bootstraps/Laravel.php
@@ -66,7 +66,7 @@ public function getApplication()
66
$isLaravel = true;
67
if (file_exists('bootstrap/app.php')) {
68
$this->app = require_once 'bootstrap/app.php';
69
- if (str_contains($this->app->version(), 'Lumen')) {
+ if (substr($this->app->version(), 0, 5) === 'Lumen') {
70
$isLaravel = false;
71
}
72
0 commit comments