@@ -27,7 +27,7 @@ |
||
27 | 27 | */ |
28 | 28 | public function handle() : void |
29 | 29 | { |
30 | - $this->call('vendor:publish', ['--tag' => 'postman-migration']); |
|
30 | + $this->call('vendor:publish', [ '--tag' => 'postman-migration' ]); |
|
31 | 31 | $this->call('migrate'); |
32 | 32 | $this->call('postman:seed'); |
33 | 33 | $this->call('postman:assets'); |
@@ -33,8 +33,8 @@ discard block |
||
33 | 33 | ]); |
34 | 34 | $this->loadViews(); |
35 | 35 | |
36 | - Request::macro('datePostman', function (Request $request) { |
|
37 | - $request-> date = Carbon::parse($request->date)->toDateTimeString(); |
|
36 | + Request::macro('datePostman', function(Request $request) { |
|
37 | + $request-> date = Carbon::parse($request->date)->toDateTimeString(); |
|
38 | 38 | }); |
39 | 39 | $this->mergeConfigFrom(__DIR__.'/../config/postman.php', 'postman'); |
40 | 40 | $this->publishesAll(); |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | |
43 | 43 | public function register() |
44 | 44 | { |
45 | - if (! defined('POSTMAN_PATH')) { |
|
45 | + if (!defined('POSTMAN_PATH')) { |
|
46 | 46 | define('POSTMAN_PATH', realpath(__DIR__.'/../')); |
47 | 47 | } |
48 | 48 | } |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | 'prefix' => 'postman', |
84 | 84 | 'namespace' => 'agoalofalife\postman\Http\Controllers', |
85 | 85 | 'middleware' => 'web', |
86 | - ], function () { |
|
86 | + ], function() { |
|
87 | 87 | $this->loadRoutesFrom(__DIR__.'/../routes/web.php'); |
88 | 88 | }); |
89 | 89 | } |