Passed
Push — master ( 2566e9...630e8e )
by Jimmy
27:21 queued 12:22
created
src/Http/Controllers/Controller.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         if ($quickbooks->hasValidRefreshToken()) {
37 37
             return $view_factory->make('quickbooks::disconnect')
38 38
                                 ->with('company', $quickbooks->getDataService()
39
-                                                             ->getCompanyInfo());
39
+                                                                ->getCompanyInfo());
40 40
         }
41 41
 
42 42
         // Give view to link account
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
         // TODO: Figure out where to put this in session & remove Facade
61 61
         Alert::success('Disconnected from QuickBooks')
62
-             ->flash();
62
+                ->flash();
63 63
 
64 64
         return $redirector->back();
65 65
     }
@@ -85,6 +85,6 @@  discard block
 block discarded – undo
85 85
         $quickbooks->exchangeCodeForToken($request->get('code'), $request->get('realmId'));
86 86
 
87 87
         return $redirector->intended($url_generator->route('quickbooks.connect'))
88
-                          ->with('success', 'Connected to QuickBooks');
88
+                            ->with('success', 'Connected to QuickBooks');
89 89
     }
90 90
 }
Please login to merge, or discard this patch.
database/migrations/2018_03_11_141103_create_quick_books_tokens_table.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
     {
17 17
         Schema::create('quickbooks_tokens', function (Blueprint $table) {
18 18
             $user_id_type = DB::getSchemaBuilder()
19
-                              ->getColumnType('users', 'id') === 'bigint' ? 'unsignedBigInteger' : 'unsignedInteger';
19
+                                ->getColumnType('users', 'id') === 'bigint' ? 'unsignedBigInteger' : 'unsignedInteger';
20 20
 
21 21
             $table->unsignedBigInteger('id');
22 22
             $table->{$user_id_type}('user_id');
@@ -29,9 +29,9 @@  discard block
 block discarded – undo
29 29
             $table->timestamps();
30 30
 
31 31
             $table->foreign('user_id')
32
-                  ->references('id')
33
-                  ->on('users')
34
-                  ->onDelete('cascade');
32
+                    ->references('id')
33
+                    ->on('users')
34
+                    ->onDelete('cascade');
35 35
         });
36 36
     }
37 37
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     public function up()
16 16
     {
17
-        Schema::create('quickbooks_tokens', function (Blueprint $table) {
17
+        Schema::create('quickbooks_tokens', function(Blueprint $table) {
18 18
             $user_id_type = DB::getSchemaBuilder()
19 19
                               ->getColumnType('users', 'id') === 'bigint' ? 'unsignedBigInteger' : 'unsignedInteger';
20 20
 
Please login to merge, or discard this patch.