@@ -91,7 +91,7 @@ |
||
91 | 91 | * |
92 | 92 | * @param $type |
93 | 93 | * |
94 | - * @return array |
|
94 | + * @return string[] |
|
95 | 95 | */ |
96 | 96 | protected function getDefaultParameters( $type ) { |
97 | 97 | return array( 'location1', 'location2', 'unit', 'decimals' ); |
@@ -94,6 +94,9 @@ |
||
94 | 94 | $this->assertHasJsonKeyWithValue( $location, 'link', $link ); |
95 | 95 | } |
96 | 96 | |
97 | + /** |
|
98 | + * @param string $key |
|
99 | + */ |
|
97 | 100 | protected function assertHasJsonKeyWithValue( Location $polygon, $key, $value ) { |
98 | 101 | $json = $polygon->getJSONObject(); |
99 | 102 |