@@ -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'); |
@@ -39,9 +39,9 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function register() |
| 41 | 41 | { |
| 42 | - $this->app->bind(Client::class, function (Application $app) { |
|
| 42 | + $this->app->bind(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 | |
@@ -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 | |