Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
37 | public function transactions(string $proxy, string $page, int $pageSize, string $startDate, string $endDate) |
||
38 | { |
||
39 | $query = [ |
||
40 | 'page' => $page, |
||
41 | 'pageSize' => $pageSize, |
||
42 | 'startDate' => $startDate, |
||
43 | 'endDate' => $endDate |
||
44 | ]; |
||
45 | |||
46 | return $this->get("/cards/{$proxy}/transactions", $query); |
||
47 | } |
||
48 | } |
||
49 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.