@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | class ConnectionTest extends TestCase |
23 | 23 | { |
24 | 24 | private Connection $object; |
25 | - private Client|MockObject $clientMock; |
|
25 | + private Client | MockObject $clientMock; |
|
26 | 26 | |
27 | 27 | /** |
28 | 28 | * @throws Exception |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | * @return ResponseInterface|MockObject |
93 | 93 | * @throws Exception |
94 | 94 | */ |
95 | - private function createResponse(string $content): ResponseInterface|MockObject |
|
95 | + private function createResponse(string $content): ResponseInterface | MockObject |
|
96 | 96 | { |
97 | 97 | $response = $this->createMock(ResponseInterface::class); |
98 | 98 | $response->method('getStatusCode')->willReturn(200); |
@@ -135,7 +135,7 @@ |
||
135 | 135 | 'Ref' => $filters['Ref'] ?? null, |
136 | 136 | 'RegionRef' => $filters['RegionRef'] ?? null, |
137 | 137 | 'FindByString' => $filters['FindByString'] ?? null, |
138 | - 'Warehouse' => (int)$warehouse, |
|
138 | + 'Warehouse' => (int) $warehouse, |
|
139 | 139 | 'Page' => $page, |
140 | 140 | 'Limit' => $limit, |
141 | 141 | ]); |
@@ -34,9 +34,9 @@ discard block |
||
34 | 34 | { |
35 | 35 | $sfx = $this->randomString(5); |
36 | 36 | $counterparty = [ |
37 | - 'FirstName' => 'Іван' . $sfx, |
|
38 | - 'MiddleName' => 'Іванович' . $sfx, |
|
39 | - 'LastName' => 'Іванов' . $sfx, |
|
37 | + 'FirstName' => 'Іван'.$sfx, |
|
38 | + 'MiddleName' => 'Іванович'.$sfx, |
|
39 | + 'LastName' => 'Іванов'.$sfx, |
|
40 | 40 | 'Phone' => rand(380000000000, 380000999999), |
41 | 41 | 'Email' => '[email protected]', |
42 | 42 | 'CounterpartyProperty' => 'Recipient', |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | |
49 | 49 | //update counterparty |
50 | 50 | $counterparty['Ref'] = $actualResult['Ref']; |
51 | - $counterparty['MiddleName'] = 'Петрович' . $sfx; |
|
51 | + $counterparty['MiddleName'] = 'Петрович'.$sfx; |
|
52 | 52 | $counterparty['CityRef'] = self::CITY_REF; |
53 | 53 | |
54 | 54 | $actualResult = $this->model->updatePrivatePerson($counterparty); |