Completed
Pull Request — master (#130)
by None
07:05
created
includes/parserhooks/Maps_Geocode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
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' );
Please login to merge, or discard this patch.
tests/phpunit/parsers/LocationParserTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -94,6 +94,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.