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