Passed
Pull Request — master (#40)
by
unknown
04:24
created
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.
src/KustomerServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.