Skip to content

Commit d9c7052

Browse files
authored
Remove str_contains
1 parent 605e4db commit d9c7052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Bootstraps/Laravel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function getApplication()
6666
$isLaravel = true;
6767
if (file_exists('bootstrap/app.php')) {
6868
$this->app = require_once 'bootstrap/app.php';
69-
if (str_contains($this->app->version(), 'Lumen')) {
69+
if (substr($this->app->version(), 0, 5) === 'Lumen') {
7070
$isLaravel = false;
7171
}
7272
}

0 commit comments

Comments
 (0)