| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 42 | public function details(array $params) |
||
| 43 | { |
||
| 44 | $response = $this->request('GET', '/details', $params); |
||
| 45 | $place = $this->placeHydrator->hydratePlace($response['result']); |
||
| 46 | |||
| 47 | if (null === $place) { |
||
| 48 | throw new PlaceNotFoundException(sprintf('The place was not found')); |
||
| 49 | } |
||
| 50 | |||
| 51 | return $place; |
||
| 52 | } |
||
| 53 | } |
||
| 54 |