Completed
Push — master ( 5c187c...1f8489 )
by Alexander
01:35
created
src/Request.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
  */
18 18
 class Request
19 19
 {
20
-    const ERROR_UPDATE_TOKEN = ['-240', 'RESULT_TOKEN_ERROR_EXPIRED'];
20
+    const ERROR_UPDATE_TOKEN = [ '-240', 'RESULT_TOKEN_ERROR_EXPIRED' ];
21 21
 
22 22
     /**
23 23
      * @var Client
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
         }
104 104
 
105 105
         if (!empty($responseDecode->error)) {
106
-            if ([$responseDecode->code, $responseDecode->error] == self::ERROR_UPDATE_TOKEN) {
106
+            if ([ $responseDecode->code, $responseDecode->error ] == self::ERROR_UPDATE_TOKEN) {
107 107
                 throw new UpdateTokenException();
108 108
             }
109 109
 
Please login to merge, or discard this patch.