Passed
Push — master ( e742da...046212 )
by Dominic
03:09
created
src/Controllers/AuthorizationController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Traits/Encryptable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/database/migrations/2019_08_19_000000_create_revolut_tokens_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.