Completed
Branch AUTOMATED_TESTING (6eabf7)
by Gordon
15:07
created
code/MapUtil.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@  discard block
 block discarded – undo
79 79
 	}
80 80
 
81 81
 
82
+	/**
83
+	 * @param boolean $new_map_already_rendered
84
+	 */
82 85
 	public static function set_map_already_rendered($new_map_already_rendered) {
83 86
 		self::$map_already_rendered = $new_map_already_rendered;
84 87
 	}
@@ -156,7 +159,7 @@  discard block
 block discarded – undo
156 159
 	/**
157 160
 	 * Get a new GoogleMapAPI object and load it with the default settings
158 161
 	 *
159
-	 * @return GoogleMapAPI
162
+	 * @return MapAPI
160 163
 	 */
161 164
 	public static function instance()
162 165
 	{
@@ -219,7 +222,7 @@  discard block
 block discarded – undo
219 222
 	 * e.g. {@link DataList} or {@link ArrayList} on the map
220 223
 	 *
221 224
 	 * @param SS_List list of objects to display on a map
222
-	 * @param  array $infowindowtemplateparams Optional array of extra parameters to pass to the map info window
225
+	 * @param  array $optionalinfowindowtemplatevalues Optional array of extra parameters to pass to the map info window
223 226
 	 * @return MapAPI
224 227
 	 */
225 228
 	public static function get_map(SS_List $list, $optionalinfowindowtemplatevalues) {
Please login to merge, or discard this patch.
tests/MapExtensionTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -193,6 +193,10 @@
 block discarded – undo
193 193
 		return $instance;
194 194
 	}
195 195
 
196
+	/**
197
+	 * @param integer $lat
198
+	 * @param integer $lon
199
+	 */
196 200
 	private function showMapPinEdited(&$instance, $lat, $lon) {
197 201
 		$instance->Lat = $lat;
198 202
 		$instance->Long = $lon;
Please login to merge, or discard this patch.