| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | class NullPlaceMapperConfig implements PlaceMapperConfigInterface |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * {@inheritDoc} |
||
| 27 | * @see \MyArtJaub\Webtrees\Contracts\GeoDispersion\PlaceMapperConfigInterface::get() |
||
| 28 | */ |
||
| 29 | public function get(string $key, $default = null) |
||
| 30 | { |
||
| 31 | return $default; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritDoc} |
||
| 36 | * @see \MyArtJaub\Webtrees\Contracts\GeoDispersion\PlaceMapperConfigInterface::has() |
||
| 37 | */ |
||
| 38 | public function has(string $key): bool |
||
| 39 | { |
||
| 40 | return false; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritDoc} |
||
| 45 | * @see \MyArtJaub\Webtrees\Contracts\GeoDispersion\PlaceMapperConfigInterface::jsonDeserialize() |
||
| 46 | */ |
||
| 47 | public function jsonDeserialize($config): self |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritDoc} |
||
| 54 | * @see JsonSerializable::jsonSerialize() |
||
| 55 | */ |
||
| 56 | public function jsonSerialize() |
||
| 63 | } |