@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('feedbacks', function (Blueprint $table) { |
|
| 16 | + Schema::create('feedbacks', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('type'); |
| 19 | 19 | $table->text('message'); |
@@ -37,8 +37,8 @@ |
||
| 37 | 37 | private function storeFeedback($data, Request $request) |
| 38 | 38 | { |
| 39 | 39 | $feedback = new Feedback; |
| 40 | - $feedback->type = $data['type']; |
|
| 41 | - $feedback->message = $data['message']; |
|
| 40 | + $feedback->type = $data[ 'type' ]; |
|
| 41 | + $feedback->message = $data[ 'message' ]; |
|
| 42 | 42 | $feedback->user_info = $this->gatherUserInfo($request); |
| 43 | 43 | $feedback->save(); |
| 44 | 44 | |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | ], 'kustomer-locales'); |
| 53 | 53 | |
| 54 | 54 | $this->publishes( |
| 55 | - [__DIR__ . '/../resources/views' => resource_path('views/vendor/kustomer')], |
|
| 55 | + [ __DIR__ . '/../resources/views' => resource_path('views/vendor/kustomer') ], |
|
| 56 | 56 | 'kustomer-views' |
| 57 | 57 | ); |
| 58 | 58 | } |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | */ |
| 75 | 75 | protected function registerRoutes() |
| 76 | 76 | { |
| 77 | - Route::group($this->routeConfiguration(), function () { |
|
| 77 | + Route::group($this->routeConfiguration(), function() { |
|
| 78 | 78 | $this->loadRoutesFrom(__DIR__ . '/../routes/api.php'); |
| 79 | 79 | }); |
| 80 | 80 | } |