| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class GeocoderMock extends AbstractGeocoder |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * This method mocks OpenCage API |
||
| 11 | * and only returns the Latitude and Longitude |
||
| 12 | * of gothenburg which is default value |
||
| 13 | * and status code if it fails or not. |
||
| 14 | * |
||
| 15 | * @param string $value |
||
| 16 | * |
||
| 17 | * @return array |
||
| 18 | */ |
||
| 19 | 2 | public function geocode($search) : Array |
|
| 34 |