@@ -58,7 +58,7 @@ |
||
58 | 58 | |
59 | 59 | /** |
60 | 60 | * Validation constraints for fields |
61 | - * @return array |
|
61 | + * @return Assert\Collection |
|
62 | 62 | */ |
63 | 63 | public function getValidationConstraints() |
64 | 64 | { |
@@ -34,7 +34,7 @@ |
||
34 | 34 | if (!isset($response[$field])) { |
35 | 35 | return; |
36 | 36 | } |
37 | - $method = 'set' . $this->toMethodName($field); |
|
37 | + $method = 'set'.$this->toMethodName($field); |
|
38 | 38 | $result->$method($response[$field]); |
39 | 39 | } |
40 | 40 |
@@ -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 | } |
@@ -22,7 +22,7 @@ |
||
22 | 22 | \Exception $previousException = null, |
23 | 23 | $responseData = null |
24 | 24 | ) { |
25 | - $message .= ' Response: ' . var_export($responseData, true); |
|
25 | + $message .= ' Response: '.var_export($responseData, true); |
|
26 | 26 | parent::__construct($message, $code, $previousException); |
27 | 27 | $this->responseData = $responseData; |
28 | 28 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | $this->query = new Archive( |
22 | 22 | self::TYPE, |
23 | - __DIR__ . '/../data/document.pdf', |
|
23 | + __DIR__.'/../data/document.pdf', |
|
24 | 24 | [ |
25 | 25 | ['id' => 'signature_0'], |
26 | 26 | ['id' => 'signature_1'] |
@@ -14,7 +14,7 @@ |
||
14 | 14 | |
15 | 15 | $object = new InvalidData($message, $code, $previous, $data); |
16 | 16 | |
17 | - $message .= ' Response: ' . var_export($data, true); |
|
17 | + $message .= ' Response: '.var_export($data, true); |
|
18 | 18 | $this->assertEquals($data, $object->getResponseData()); |
19 | 19 | $this->assertEquals($message, $object->getMessage()); |
20 | 20 | $this->assertEquals($code, $object->getCode()); |
@@ -19,6 +19,6 @@ |
||
19 | 19 | $object = new QueryValidator($message, $violations); |
20 | 20 | |
21 | 21 | $this->assertEquals($violations, $object->getViolations()); |
22 | - $this->assertEquals($message . ': list of violations', $object->getMessage()); |
|
22 | + $this->assertEquals($message.': list of violations', $object->getMessage()); |
|
23 | 23 | } |
24 | 24 | } |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | */ |
15 | 15 | protected function assertSetterExists($property, $object) |
16 | 16 | { |
17 | - $setter = 'set' . $this->toMethodName($property); |
|
17 | + $setter = 'set'.$this->toMethodName($property); |
|
18 | 18 | $this->assertTrue( |
19 | 19 | method_exists($object, $setter), |
20 | 20 | sprintf('Method is %s missing', $setter) |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | */ |
31 | 31 | protected function assertGetterExists($property, $object) |
32 | 32 | { |
33 | - $getter = 'get' . $this->toMethodName($property); |
|
33 | + $getter = 'get'.$this->toMethodName($property); |
|
34 | 34 | $this->assertTrue( |
35 | 35 | method_exists($object, $getter), |
36 | 36 | sprintf('Method is %s missing', $getter) |
@@ -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 | ] |