Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
25 | protected function defaultSegments(): array |
||
26 | { |
||
27 | return [ |
||
28 | 'body' => [ |
||
29 | 'class' => JsonRequestMiddleware::class, |
||
30 | 'payload' => $this->properties, |
||
31 | 'logger' => $this->getLogger() |
||
32 | ], |
||
33 | 'uri' => [ |
||
34 | 'class' => CompanyUpdateByIdMiddleware::class, |
||
35 | 'id' => $this->id, |
||
36 | 'logger' => $this->getLogger() |
||
37 | ], |
||
38 | 'client' => [ |
||
39 | 'class' => Client::class, |
||
40 | 'logger' => $this->getLogger() |
||
41 | ] |
||
42 | ]; |
||
43 | } |
||
44 | } |
||
45 |