Completed
Push — master ( ba7b5b...e5a757 )
by Robbie
01:33
created
code/RestfulServer.php 1 patch
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
      *
173 173
      * @param String $className
174 174
      * @param Int $id
175
-     * @param String $relation
175
+     * @param String $relationName
176 176
      * @return String The serialized representation of the requested object(s) - usually XML or JSON.
177 177
      */
178 178
     protected function getHandler($className, $id, $relationName)
@@ -555,11 +555,11 @@  discard block
 block discarded – undo
555 555
     }
556 556
 
557 557
     /**
558
-     * @param DataObject $obj
559 558
      * @param array $params
560 559
      * @param int|array $sort
561 560
      * @param int|array $limit
562
-     * @return SQLQuery
561
+     * @param string $className
562
+     * @return SS_List
563 563
      */
564 564
     protected function getObjectsQuery($className, $params, $sort, $limit)
565 565
     {
@@ -573,7 +573,7 @@  discard block
 block discarded – undo
573 573
      * @param int|array $sort
574 574
      * @param int|array $limit
575 575
      * @param string $relationName
576
-     * @return SQLQuery|boolean
576
+     * @return DataObjectInterface
577 577
      */
578 578
     protected function getObjectRelationQuery($obj, $params, $sort, $limit, $relationName)
579 579
     {
@@ -663,7 +663,7 @@  discard block
 block discarded – undo
663 663
     /**
664 664
      * Get the current Member, if available
665 665
      *
666
-     * @return Member|null
666
+     * @return DataObject|null
667 667
      */
668 668
     protected function getMember()
669 669
     {
@@ -683,6 +683,9 @@  discard block
 block discarded – undo
683 683
         '#ID' => 'handleItem',
684 684
     );
685 685
 
686
+    /**
687
+     * @param SS_List $list
688
+     */
686 689
     public function __construct($list)
687 690
     {
688 691
         $this->list = $list;
Please login to merge, or discard this patch.