@@ -161,10 +161,10 @@ discard block |
||
161 | 161 | } |
162 | 162 | |
163 | 163 | if ($token) { |
164 | - $action .= '/' . $token; |
|
164 | + $action .= '/'.$token; |
|
165 | 165 | } |
166 | 166 | |
167 | - return $url . '/' . $action . '.json'; |
|
167 | + return $url.'/'.$action.'.json'; |
|
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
@@ -211,16 +211,16 @@ discard block |
||
211 | 211 | private function prepareOptions(array $options) |
212 | 212 | { |
213 | 213 | if (isset($options['sandbox'])) { |
214 | - $this->sandbox = (bool)$options['sandbox']; |
|
214 | + $this->sandbox = (bool) $options['sandbox']; |
|
215 | 215 | } |
216 | 216 | if (isset($options['apiKey'])) { |
217 | - $this->apiKey = (string)$options['apiKey']; |
|
217 | + $this->apiKey = (string) $options['apiKey']; |
|
218 | 218 | } |
219 | 219 | if (isset($options['url'])) { |
220 | - $this->url = (string)$options['url']; |
|
220 | + $this->url = (string) $options['url']; |
|
221 | 221 | } |
222 | 222 | if (isset($options['sandboxUrl'])) { |
223 | - $this->sandboxUrl = (string)$options['sandboxUrl']; |
|
223 | + $this->sandboxUrl = (string) $options['sandboxUrl']; |
|
224 | 224 | } |
225 | 225 | } |
226 | 226 |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | /** @var StatusResultInterface $statusResult */ |
16 | 16 | $statusResult = $this->client->get(new Archive( |
17 | 17 | 'pdf', |
18 | - __DIR__ . '/../data/signed.pdf', |
|
18 | + __DIR__.'/../data/signed.pdf', |
|
19 | 19 | [] |
20 | 20 | )); |
21 | 21 | } |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | /** @var StatusResultInterface $statusResult */ |
49 | 49 | $statusResult = $this->client->get(new Archive( |
50 | 50 | 'pdf', |
51 | - __DIR__ . '/../data/signed.pdf', |
|
51 | + __DIR__.'/../data/signed.pdf', |
|
52 | 52 | [ |
53 | 53 | ['id' => 'Signature1'] |
54 | 54 | ] |
@@ -88,7 +88,7 @@ |
||
88 | 88 | 'reason' => 'Dokumento asirašymas', |
89 | 89 | 'location' => 'Vilnius', |
90 | 90 | 'files' => [ |
91 | - __DIR__ . '/../data/document.pdf', |
|
91 | + __DIR__.'/../data/document.pdf', |
|
92 | 92 | ] |
93 | 93 | ]; |
94 | 94 | } |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Isign\Sign\Sc; |
7 | 7 | use Isign\Sign\ScPrepare; |
8 | 8 | use Isign\Sign\ScPrepareResult; |
9 | -use Isign\StatusResultInterface; |
|
10 | 9 | |
11 | 10 | class ScSignTest extends TestCase |
12 | 11 | { |
@@ -27,11 +27,11 @@ |
||
27 | 27 | public function getFields() |
28 | 28 | { |
29 | 29 | return [ |
30 | - 'status', |
|
31 | - 'algorithm', |
|
32 | - 'token', |
|
33 | - 'dtbs_hash', |
|
34 | - 'dtbs', |
|
30 | + 'status', |
|
31 | + 'algorithm', |
|
32 | + 'token', |
|
33 | + 'dtbs_hash', |
|
34 | + 'dtbs', |
|
35 | 35 | ]; |
36 | 36 | } |
37 | 37 |