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