| Total Complexity | 3 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 5 | class UnsplashSearch extends BaseClass |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Search for the photos with search query. |
||
| 9 | * |
||
| 10 | * @param string $query |
||
| 11 | * @param array $params |
||
| 12 | * |
||
| 13 | * @return mixed |
||
| 14 | */ |
||
| 15 | public function photos($query, array $params) |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Search for the collections with search query. |
||
| 24 | * |
||
| 25 | * @param string $query |
||
| 26 | * @param array $params |
||
| 27 | * |
||
| 28 | * @return mixed |
||
| 29 | */ |
||
| 30 | public function collections($query, array $params) |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Search for the users with search query. |
||
| 39 | * |
||
| 40 | * @param string $query |
||
| 41 | * @param array $params |
||
| 42 | * |
||
| 43 | * @return mixed |
||
| 44 | */ |
||
| 45 | public function users($query, array $params) |
||
| 52 |