Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
32 | protected function defaultSegments(): array |
||
33 | { |
||
34 | return [ |
||
35 | 'body' => [ |
||
36 | 'class' => JsonRequestMiddleware::class, |
||
37 | 'payload' => $this->assemblePayload(), |
||
38 | 'logger' => $this->getLogger() |
||
39 | ], |
||
40 | 'uri' => [ |
||
41 | 'class' => ContactListAddMiddleware::class, |
||
42 | 'id' => $this->id, |
||
43 | 'logger' => $this->getLogger() |
||
44 | ], |
||
45 | 'client' => [ |
||
46 | 'class' => Client::class, |
||
47 | 'logger' => $this->getLogger() |
||
48 | ] |
||
49 | ]; |
||
50 | } |
||
51 | |||
63 |