Completed
Pull Request — master (#145)
by
unknown
03:35
created
SEOstats/Services/Alexa.php 1 patch
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -357,8 +357,6 @@  discard block
 block discarded – undo
357 357
     /**
358 358
      * @access        public
359 359
      * @param         integer    $type      Specifies the graph type. Valid values are 1 to 6.
360
-     * @param         integer    $width     Specifies the graph width (in px).
361
-     * @param         integer    $height    Specifies the graph height (in px).
362 360
      * @param         integer    $period    Specifies the displayed time period. Valid values are 1 to 12.
363 361
      * @return        string                Returns a string, containing the HTML code of an image, showing Alexa Statistics as Graph.
364 362
      */
@@ -384,6 +382,7 @@  discard block
 block discarded – undo
384 382
     }
385 383
 
386 384
     /**
385
+     * @param boolean $url
387 386
      * @return DOMXPath
388 387
      */
389 388
     protected static function _getXPath($url) {
@@ -401,6 +400,9 @@  discard block
 block discarded – undo
401 400
         return $xpath;
402 401
     }
403 402
 
403
+    /**
404
+     * @param string $url
405
+     */
404 406
     protected static function _getAlexaPage($url)
405 407
     {
406 408
         $domain  = Helper\Url::parseHost($url);
@@ -446,6 +448,7 @@  discard block
 block discarded – undo
446 448
 
447 449
     /**
448 450
      *
451
+     * @param string[] $xpathQueryList
449 452
      * @return mixed nodeValue
450 453
      */
451 454
     protected static function parseDomByXpathsToInteger($xpathDom, $xpathQueryList)
@@ -460,6 +463,7 @@  discard block
 block discarded – undo
460 463
 
461 464
     /**
462 465
      *
466
+     * @param string[] $xpathQueryList
463 467
      * @return mixed nodeValue
464 468
      */
465 469
     protected static function parseDomByXpathsWithoutTags($xpathDom, $xpathQueryList)
@@ -476,7 +480,7 @@  discard block
 block discarded – undo
476 480
 
477 481
     /**
478 482
      *
479
-     * @return mixed nodeValue
483
+     * @return string nodeValue
480 484
      */
481 485
     protected static function parseDomByXpathsToIntegerWithoutTags($xpathDom, $xpathQueryList)
482 486
     {
Please login to merge, or discard this patch.