Conditions | 3 |
Paths | 4 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 3 |
Changes | 0 |
1 | <?php |
||
51 | 6 | public function toArray() |
|
52 | { |
||
53 | 6 | $request = $this->userIdentifier->toArray(); |
|
54 | |||
55 | 6 | $request['count'] = $this->count; |
|
56 | 6 | $request['cursor'] = $this->cursor; |
|
57 | 6 | $request['skip_status'] = $this->skipStatus ? 'true' : 'false'; |
|
58 | 6 | $request['include_entities'] = $this->includeUserEntities ? 'true' : 'false'; |
|
59 | |||
60 | 6 | return $request; |
|
61 | } |
||
62 | } |
||
63 |