| Total Complexity | 4 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class Events extends Api |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param int $page |
||
| 13 | * @param int $perPage |
||
| 14 | * |
||
| 15 | * @throws DripException |
||
| 16 | * |
||
| 17 | * @return Response\ApiResponse |
||
| 18 | */ |
||
| 19 | public function list(int $page = 1, int $perPage = 100): ApiResponse |
||
| 31 | ] |
||
| 32 | ); |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param Event $event |
||
| 37 | * |
||
| 38 | * @return bool |
||
| 39 | */ |
||
| 40 | public function store(Event $event): bool |
||
| 51 |