Passed
Branch feature/copyOverExistingFiles (0ddfde)
by Jimmy
05:58
created
src/VersionServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,8 +34,8 @@  discard block
 block discarded – undo
34 34
                     'namespace'  => 'Spinen\Version\Http\Controllers',
35 35
                     'middleware' => Config::get('version.route.middleware', 'web'),
36 36
                 ],
37
-                function () {
38
-                    $this->loadRoutesFrom(realpath(__DIR__ . '/../routes/web.php'));
37
+                function() {
38
+                    $this->loadRoutesFrom(realpath(__DIR__.'/../routes/web.php'));
39 39
                 }
40 40
             );
41 41
         }
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
         if (Config::get('version.view.enabled')) {
44 44
             View::composer(
45 45
                 Config::get('version.view.views', '*'),
46
-                function ($view) {
46
+                function($view) {
47 47
                     return $view->with(
48 48
                         Config::get('version.view.variable', 'version'),
49 49
                         $this->app->make(Version::class)
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     {
77 77
         $this->app->singleton(
78 78
             Version::class,
79
-            function () {
79
+            function() {
80 80
                 return new Version(base_path(Config::get('version.file', 'VERSION')));
81 81
             }
82 82
         );
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         if ($this->app->runningInConsole()) {
85 85
             $this->publishes(
86 86
                 [
87
-                    realpath(__DIR__ . '/../config/version.php') => config_path('version.php'),
87
+                    realpath(__DIR__.'/../config/version.php') => config_path('version.php'),
88 88
                 ],
89 89
                 'version-config'
90 90
             );
Please login to merge, or discard this patch.