@@ -36,7 +36,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |
@@ -16,7 +16,7 @@ discard block |
||
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 |
||
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 |
@@ -14,7 +14,7 @@ |
||
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 |