@@ -39,9 +39,9 @@ |
||
39 | 39 | */ |
40 | 40 | public function register() |
41 | 41 | { |
42 | - $this->app->singleton(Client::class, function (Application $app) { |
|
42 | + $this->app->singleton(Client::class, function(Application $app) { |
|
43 | 43 | $token = ($app->auth->user()->quickBooksToken) |
44 | - ? : $app->auth->user() |
|
44 | + ?: $app->auth->user() |
|
45 | 45 | ->quickBooksToken() |
46 | 46 | ->make(); |
47 | 47 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('quickbooks_tokens', function (Blueprint $table) { |
|
16 | + Schema::create('quickbooks_tokens', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->unsignedInteger('user_id'); |
19 | 19 | $table->unsignedBigInteger('realm_id'); |
@@ -86,7 +86,7 @@ |
||
86 | 86 | ->as('quickbooks.') |
87 | 87 | ->middleware($config['middleware']['default']) |
88 | 88 | ->namespace('Spinen\QuickBooks\Http\Controllers') |
89 | - ->group(function (Router $router) use ($config) { |
|
89 | + ->group(function(Router $router) use ($config) { |
|
90 | 90 | $router->get($config['paths']['connect'], 'Controller@connect') |
91 | 91 | ->middleware($config['middleware']['authenticated']) |
92 | 92 | ->name('connect'); |