@@ -4,4 +4,4 @@ |
||
4 | 4 | use Illuminate\Support\Facades\Route; |
5 | 5 | |
6 | 6 | Route::get(Config::get('version.route.uri', 'version'), 'VersionController@version') |
7 | - ->name(Config::get('version.route.name', 'version')); |
|
7 | + ->name(Config::get('version.route.name', 'version')); |
@@ -103,11 +103,11 @@ |
||
103 | 103 | $this->semver = $this->version; |
104 | 104 | |
105 | 105 | if ($this->pre_release) { |
106 | - $this->semver .= '-' . $this->pre_release; |
|
106 | + $this->semver .= '-'.$this->pre_release; |
|
107 | 107 | } |
108 | 108 | |
109 | 109 | if ($this->meta) { |
110 | - $this->semver .= '+' . $this->meta; |
|
110 | + $this->semver .= '+'.$this->meta; |
|
111 | 111 | } |
112 | 112 | } |
113 | 113 |
@@ -33,8 +33,8 @@ discard block |
||
33 | 33 | 'namespace' => 'Spinen\Version\Http\Controllers', |
34 | 34 | 'middleware' => Config::get('version.route.middleware', 'web'), |
35 | 35 | ], |
36 | - function () { |
|
37 | - $this->loadRoutesFrom(realpath(__DIR__ . '/routes/web.php')); |
|
36 | + function() { |
|
37 | + $this->loadRoutesFrom(realpath(__DIR__.'/routes/web.php')); |
|
38 | 38 | } |
39 | 39 | ); |
40 | 40 | } |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | { |
64 | 64 | $this->app->singleton( |
65 | 65 | Version::class, |
66 | - function () { |
|
66 | + function() { |
|
67 | 67 | return new Version(base_path(Config::get('version.file', 'VERSION'))); |
68 | 68 | } |
69 | 69 | ); |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | if ($this->app->runningInConsole()) { |
72 | 72 | $this->publishes( |
73 | 73 | [ |
74 | - realpath(__DIR__ . '/config/version.php') => config_path('version.php'), |
|
74 | + realpath(__DIR__.'/config/version.php') => config_path('version.php'), |
|
75 | 75 | ], |
76 | 76 | 'version-config' |
77 | 77 | ); |