@@ -20,7 +20,7 @@ |
||
20 | 20 | } |
21 | 21 | |
22 | 22 | // if the state doesn't match the latest state, abort |
23 | - if($tokenManager->getState()->value != request('state')) { |
|
23 | + if ($tokenManager->getState()->value != request('state')) { |
|
24 | 24 | abort(405, 'Invalid State'); |
25 | 25 | } |
26 | 26 |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public static function bootEncryptable() |
15 | 15 | { |
16 | - static::saving(function ($model) { |
|
16 | + static::saving(function($model) { |
|
17 | 17 | if (config('revolut.encrypt_tokens', true)) { |
18 | 18 | $model->is_encrypted = true; |
19 | 19 | $model->value = $model->encryptValue(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create(config('revolut.tokens_table'), function (Blueprint $table) { |
|
16 | + Schema::create(config('revolut.tokens_table'), function(Blueprint $table) { |
|
17 | 17 | $table->bigIncrements('id'); |
18 | 18 | $table->string('type'); |
19 | 19 | $table->mediumText('value'); |