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