@@ -211,16 +211,16 @@ |
||
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 |
@@ -21,7 +21,7 @@ |
||
21 | 21 | /** @var string Possible values: pdf, adoc, mdoc */ |
22 | 22 | private $type; |
23 | 23 | |
24 | - /** @var string file path */ |
|
24 | + /** @var string file path */ |
|
25 | 25 | private $path; |
26 | 26 | |
27 | 27 | /** |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function __construct($message, ConstraintViolationList $violations) |
20 | 20 | { |
21 | - parent::__construct($message . ': ' . (string)$violations); |
|
21 | + parent::__construct($message . ': ' . (string) $violations); |
|
22 | 22 | |
23 | 23 | $this->violations = $violations; |
24 | 24 | } |
@@ -21,9 +21,9 @@ |
||
21 | 21 | public function getFields() |
22 | 22 | { |
23 | 23 | return [ |
24 | - 'status', |
|
25 | - 'dtbs', |
|
26 | - 'token' |
|
24 | + 'status', |
|
25 | + 'dtbs', |
|
26 | + 'token' |
|
27 | 27 | ]; |
28 | 28 | } |
29 | 29 |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | $this->query = new Check( |
21 | 21 | self::TYPE, |
22 | - __DIR__.'/../data/document.pdf' |
|
22 | + __DIR__ . '/../data/document.pdf' |
|
23 | 23 | ); |
24 | 24 | } |
25 | 25 |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | { |
15 | 15 | $this->client->get(new Check( |
16 | 16 | null, |
17 | - __DIR__.'/../data/document.pdf' |
|
17 | + __DIR__ . '/../data/document.pdf' |
|
18 | 18 | )); |
19 | 19 | } |
20 | 20 | |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | { |
42 | 42 | /** @var StatusResultInterface $statusResult */ |
43 | 43 | $statusResult = $this->client->get( |
44 | - new Check('pdf', __DIR__.'/../data/document.pdf') |
|
44 | + new Check('pdf', __DIR__ . '/../data/document.pdf') |
|
45 | 45 | ); |
46 | 46 | |
47 | 47 | $this->assertSame(StatusResultInterface::STATUS_OK, $statusResult->getStatus()); |
@@ -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 | } |
@@ -10,8 +10,8 @@ |
||
10 | 10 | class ScSignTest extends TestCase |
11 | 11 | { |
12 | 12 | /** |
13 | - * @expectedException Isign\Exception\QueryValidator |
|
14 | - */ |
|
13 | + * @expectedException Isign\Exception\QueryValidator |
|
14 | + */ |
|
15 | 15 | public function testRequiredParams() |
16 | 16 | { |
17 | 17 | $this->client->get(new ScPrepare( |
@@ -75,7 +75,7 @@ |
||
75 | 75 | { |
76 | 76 | return [ |
77 | 77 | 'files' => [ |
78 | - __DIR__.'/../data/document.pdf', |
|
78 | + __DIR__ . '/../data/document.pdf', |
|
79 | 79 | ], |
80 | 80 | 'contact' => 'Ponas Testuotojas', |
81 | 81 | 'reason' => 'Pasirašymas', |
@@ -50,7 +50,7 @@ |
||
50 | 50 | { |
51 | 51 | $method = new Mobile('pdf', '+370xxxxxxxx', 'xxxxxxxxxxx', [ |
52 | 52 | 'files' => [ |
53 | - __DIR__.'/../data/document.pdf' |
|
53 | + __DIR__ . '/../data/document.pdf' |
|
54 | 54 | ] |
55 | 55 | ]); |
56 | 56 | $result = $method->getFields(); |