Completed
Push — master ( 266f95...b28ac4 )
by Nicolaas
01:40
created
code/control/GoogleMapLocationsDOD_Controller.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -200,8 +200,8 @@  discard block
 block discarded – undo
200 200
      *
201 201
      * @param String $action - see GoogleMapDataResponse::allowed_actions to get a list of actions
202 202
      * @param String $title
203
-     * @param float $lng - default LATITUDE
204
-     * @param float $lat - default LONGITUDE
203
+     * @param integer $lng - default LATITUDE
204
+     * @param integer $lat - default LONGITUDE
205 205
      * @param String $filterCode - can be a SiteTree class name, e.g. "ProductPage"
206 206
      *                             filter depends on the type of action
207 207
      *
@@ -224,7 +224,6 @@  discard block
 block discarded – undo
224 224
     /**
225 225
      * add a layer to a Google Map
226 226
      *
227
-     * @param String $action - see GoogleMapDataResponse::allowed_actions to get a list of actions
228 227
      * @param String $title
229 228
      * @param String $filterCode - can be a SiteTree class name, e.g. "ProductPage"
230 229
      *                         filter depends on the type of action
@@ -387,7 +386,7 @@  discard block
 block discarded – undo
387 386
      * @param String $title
388 387
      * @param Int $lng
389 388
      * @param Int $lat
390
-     * @param String $filter
389
+     * @param String $filterCode
391 390
      *
392 391
      * @return String
393 392
      */
Please login to merge, or discard this patch.
code/model/GoogleMapLocationsObject.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -319,7 +319,7 @@
 block discarded – undo
319 319
      * test to see if address is found.  If address if found then
320 320
      * it will write the object, otherwise it returns null.
321 321
      *
322
-     * @return this || null
322
+     * @return GoogleMapLocationsObject|null || null
323 323
      */
324 324
     public function findGooglePointsAndWriteIfFound()
325 325
     {
Please login to merge, or discard this patch.
code/viewableData/GoogleMap.php 1 patch
Doc Comments   +13 added lines, -1 removed lines patch added patch discarded remove patch
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
     }
205 205
 
206 206
     /**
207
-     * @return Boolean
207
+     * @return boolean|null
208 208
      */
209 209
     public function CanEdit($member = null)
210 210
     {
@@ -400,6 +400,10 @@  discard block
 block discarded – undo
400 400
      * @var String
401 401
      */
402 402
     protected $address = "";
403
+
404
+    /**
405
+     * @param string $v
406
+     */
403 407
     public function setAddress($v)
404 408
     {
405 409
         $this->address = Convert::raw2js($v);
@@ -487,6 +491,10 @@  discard block
 block discarded – undo
487 491
      * @var String
488 492
      */
489 493
     protected $updateServerUrlAddressSearchPoint = "/googlemap/showaroundmexml/";
494
+
495
+    /**
496
+     * @param string $v
497
+     */
490 498
     public function setUpdateServerUrlAddressSearchPoint($v)
491 499
     {
492 500
         $this->updateServerUrlAddressSearchPoint = Director::absoluteBaseURL().$v;
@@ -500,6 +508,10 @@  discard block
 block discarded – undo
500 508
      * @var String
501 509
      */
502 510
     protected $updateServerUrlDragend = "";
511
+
512
+    /**
513
+     * @param string $v
514
+     */
503 515
     public function setUpdateServerUrlDragend($v)
504 516
     {
505 517
         $this->updateServerUrlDragend = Director::absoluteBaseURL().$v;
Please login to merge, or discard this patch.
code/converters/thirdparty/Services_JSON.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -460,7 +460,7 @@
 block discarded – undo
460 460
     /**
461 461
      * reduce a string by removing leading and trailing comments and whitespace
462 462
      *
463
-     * @param    $str    string      string value to strip of comments and whitespace
463
+     * @param    string $str    string      string value to strip of comments and whitespace
464 464
      *
465 465
      * @return   string  string value stripped of comments and whitespace
466 466
      * @access   private
Please login to merge, or discard this patch.
code/converters/GetLatLngFromGoogleUsingAddress.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -226,7 +226,7 @@
 block discarded – undo
226 226
      *
227 227
      * @param Array
228 228
      *
229
-     * @return Array
229
+     * @return string
230 230
      */
231 231
     private static function json_encoder($content)
232 232
     {
Please login to merge, or discard this patch.