Skip to content

Commit c5e5ca5

Browse files
authored
Replace str_contains()
1 parent cee74c6 commit c5e5ca5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ServiceProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace Torann\LaravelAsana;
44

5+
use Illuminate\Support\Str;
6+
57
class ServiceProvider extends \Illuminate\Support\ServiceProvider
68
{
79
/**
@@ -65,7 +67,7 @@ public function registerResources()
6567
*/
6668
protected function isLumen()
6769
{
68-
return str_contains($this->app->version(), 'Lumen') === true;
70+
return Str::contains($this->app->version(), 'Lumen') === true;
6971
}
7072

7173
/**

0 commit comments

Comments
 (0)