| Total Complexity | 4 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class ZipFromPlaceIdAction extends PlacesSearchAction |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Google Places details endpoint |
||
| 13 | * |
||
| 14 | * @return string |
||
| 15 | */ |
||
| 16 | public function getEndpoint(): string |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Parse the Google Places API response and return an array |
||
| 31 | * |
||
| 32 | * @param $response |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function parseResponse($response) |
||
| 45 |