Completed
Push — LocationParsers ( afa02e )
by Jeroen De
04:46
created

NullGeocoder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 12
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A geocode() 0 3 1
1
<?php
2
3
namespace Maps\Geocoders;
4
5
use DataValues\Geo\Values\LatLongValue;
6
7
/**
8
 * @licence GNU GPL v2+
9
 * @author Jeroen De Dauw < [email protected] >
10
 */
11
class NullGeocoder implements Geocoder {
12
13
	/**
14
	 * @param string $address
15
	 *
16
	 * @return LatLongValue|null
17
	 */
18
	public function geocode( $address ) {
19
		return null;
20
	}
21
22
}
23