Passed
Push — master ( b90a53...57255b )
by Clement
03:13
created
src/KustomerServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      */
64 64
     protected function registerRoutes()
65 65
     {
66
-        Route::group($this->routeConfiguration(), function () {
66
+        Route::group($this->routeConfiguration(), function() {
67 67
             $this->loadRoutesFrom(__DIR__ . '/../routes/api.php');
68 68
         });
69 69
     }
Please login to merge, or discard this patch.
database/migrations/2018_01_01_000000_create_feedbacks_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
src/Http/Controllers/FeedbackController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.