File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed
Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " akaunting/version" ,
33 "description" : " Version management package for Laravel." ,
4- "keywords" : [" laravel" , " version" ],
4+ "keywords" : [
5+ " laravel" ,
6+ " version"
7+ ],
58 "license" : " MIT" ,
69 "authors" : [
710 {
811 "name" : " Denis Duliçi" ,
912 "email" : " info@akaunting.com" ,
10- "homepage" : " https://akaunting.com" ,
11- "role" : " Developer"
13+ "homepage" : " https://akaunting.com" ,
14+ "role" : " Developer"
1215 }
1316 ],
1417 "require" : {
1518 "php" : " >=5.5.9" ,
1619 "laravel/framework" : " >=5.2.0"
1720 },
18- "autoload" : {
19- "psr-4" : {
20- "Akaunting\\ Version\\ " : " ./src"
21- },
21+ "autoload" : {
22+ "psr-4" : {
23+ "Akaunting\\ Version\\ " : " ./src"
24+ },
2225 "files" : [
2326 " src/helpers.php"
2427 ]
25- },
28+ },
2629 "extra" : {
2730 "laravel" : {
2831 "providers" : [
Original file line number Diff line number Diff line change 22
33namespace Akaunting \Version ;
44
5+ use Illuminate \Support \Str ;
6+
57class Version
68{
79 /**
@@ -36,7 +38,7 @@ public function __construct($app = null)
3638
3739 $ this ->app = $ app ;
3840 $ this ->version = $ app ->version ();
39- $ this ->is_lumen = str_contains ($ this ->version , 'Lumen ' );
41+ $ this ->is_lumen = Str:: contains ($ this ->version , 'Lumen ' );
4042 }
4143
4244 /**
You can’t perform that action at this time.
0 commit comments