@@ -48,8 +48,7 @@ |
||
| 48 | 48 | return [ |
| 49 | 49 | 'type' => $this->type, |
| 50 | 50 | 'file' => $this->pathIsToken ? |
| 51 | - [ 'token' => $this->path ] : |
|
| 52 | - $this->getFileFields($this->path), |
|
| 51 | + ['token' => $this->path] : $this->getFileFields($this->path), |
|
| 53 | 52 | ]; |
| 54 | 53 | } |
| 55 | 54 | |
@@ -4,7 +4,7 @@ discard block |
||
| 4 | 4 | |
| 5 | 5 | abstract class SigningPurposeProvider |
| 6 | 6 | { |
| 7 | - const SIGNING_PURPOSE_SIGNATURE = 'signature'; |
|
| 7 | + const SIGNING_PURPOSE_SIGNATURE = 'signature'; |
|
| 8 | 8 | const SIGNING_PURPOSE_CONFIRMATION = 'confirmation'; |
| 9 | 9 | const SIGNING_PURPOSE_VISA = 'visa'; |
| 10 | 10 | const SIGNING_PURPOSE_CONCILIATION = 'conciliation'; |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | final public static function getAllSigningPurposes() |
| 18 | 18 | { |
| 19 | 19 | return [ |
| 20 | - self::SIGNING_PURPOSE_SIGNATURE , |
|
| 20 | + self::SIGNING_PURPOSE_SIGNATURE, |
|
| 21 | 21 | self::SIGNING_PURPOSE_CONFIRMATION, |
| 22 | 22 | self::SIGNING_PURPOSE_VISA, |
| 23 | 23 | self::SIGNING_PURPOSE_CONCILIATION, |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | if ($expectJson) { |
| 56 | 56 | $result = $response->json(); |
| 57 | 57 | } else { |
| 58 | - $result = [ 'body' => $response->getBody() ]; |
|
| 58 | + $result = ['body' => $response->getBody()]; |
|
| 59 | 59 | } |
| 60 | 60 | } catch (BadResponseException $e) { |
| 61 | 61 | if ($e->getCode() == 400) { |