@@ -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 | ]); |
@@ -30,9 +30,9 @@ |
||
30 | 30 | { |
31 | 31 | $sfx = $this->randomString(5); |
32 | 32 | $counterparty = [ |
33 | - 'FirstName' => 'Іван' . $sfx, |
|
34 | - 'MiddleName' => 'Іванович' . $sfx, |
|
35 | - 'LastName' => 'Іванов' . $sfx, |
|
33 | + 'FirstName' => 'Іван'.$sfx, |
|
34 | + 'MiddleName' => 'Іванович'.$sfx, |
|
35 | + 'LastName' => 'Іванов'.$sfx, |
|
36 | 36 | 'Phone' => rand(380000000000, 380000999999), |
37 | 37 | 'Email' => '[email protected]', |
38 | 38 | 'CounterpartyType' => 'PrivatePerson', |