@@ -142,6 +142,9 @@ |
||
| 142 | 142 | { |
| 143 | 143 | protected $name; |
| 144 | 144 | |
| 145 | + /** |
|
| 146 | + * @param string $name |
|
| 147 | + */ |
|
| 145 | 148 | public function __construct($name) |
| 146 | 149 | { |
| 147 | 150 | $this->name = $name; |
@@ -45,8 +45,8 @@ discard block |
||
| 45 | 45 | public function testGeocode() |
| 46 | 46 | { |
| 47 | 47 | $this->delegate->expects($this->once()) |
| 48 | - ->method('geocodeQuery') |
|
| 49 | - ->will($this->returnValue(new AddressCollection([]))); |
|
| 48 | + ->method('geocodeQuery') |
|
| 49 | + ->will($this->returnValue(new AddressCollection([]))); |
|
| 50 | 50 | |
| 51 | 51 | $this->geocoder->geocode('foo'); |
| 52 | 52 | |
@@ -56,8 +56,8 @@ discard block |
||
| 56 | 56 | public function testGeocodeThrowsException() |
| 57 | 57 | { |
| 58 | 58 | $this->delegate->expects($this->once()) |
| 59 | - ->method('geocodeQuery') |
|
| 60 | - ->will($this->throwException($exception = new \Exception())); |
|
| 59 | + ->method('geocodeQuery') |
|
| 60 | + ->will($this->throwException($exception = new \Exception())); |
|
| 61 | 61 | |
| 62 | 62 | try { |
| 63 | 63 | $this->geocoder->geocode('foo'); |
@@ -72,8 +72,8 @@ discard block |
||
| 72 | 72 | public function testReverse() |
| 73 | 73 | { |
| 74 | 74 | $this->delegate->expects($this->once()) |
| 75 | - ->method('reverseQuery') |
|
| 76 | - ->will($this->returnValue(new AddressCollection([]))); |
|
| 75 | + ->method('reverseQuery') |
|
| 76 | + ->will($this->returnValue(new AddressCollection([]))); |
|
| 77 | 77 | |
| 78 | 78 | $this->geocoder->reverse(0, 0); |
| 79 | 79 | |
@@ -83,8 +83,8 @@ discard block |
||
| 83 | 83 | public function testReverseThrowsException() |
| 84 | 84 | { |
| 85 | 85 | $this->delegate->expects($this->once()) |
| 86 | - ->method('reverseQuery') |
|
| 87 | - ->will($this->throwException($exception = new \Exception())); |
|
| 86 | + ->method('reverseQuery') |
|
| 87 | + ->will($this->throwException($exception = new \Exception())); |
|
| 88 | 88 | |
| 89 | 89 | try { |
| 90 | 90 | $this->geocoder->reverse(0, 0); |