Completed
Push — master ( 9d4592...64b389 )
by Andreas
05:50
created
src/api/object.php 1 patch
Doc Comments   +15 added lines, -2 removed lines patch added patch discarded remove patch
@@ -131,6 +131,9 @@  discard block
 block discarded – undo
131 131
         return null;
132 132
     }
133 133
 
134
+    /**
135
+     * @param integer $id
136
+     */
134 137
     public function get_by_id($id)
135 138
     {
136 139
         $entity = connection::get_em()->find(get_class($this), $id);
@@ -171,6 +174,9 @@  discard block
 block discarded – undo
171 174
         return true;
172 175
     }
173 176
 
177
+    /**
178
+     * @param string $guid
179
+     */
174 180
     public function get_by_guid($guid)
175 181
     {
176 182
         if (!mgd_is_guid($guid))
@@ -546,7 +552,8 @@  discard block
 block discarded – undo
546 552
     }
547 553
 
548 554
     /**
549
-     * @return int
555
+     * @param integer $up
556
+     * @return \Doctrine\ORM\QueryBuilder
550 557
      */
551 558
     protected function get_uniquefield_query($classname, $field, $part, $upfield, $up)
552 559
     {
@@ -639,6 +646,9 @@  discard block
 block discarded – undo
639 646
         }
640 647
     }
641 648
 
649
+    /**
650
+     * @param string $value
651
+     */
642 652
     public function set_parameter($domain, $name, $value)
643 653
     {
644 654
         $constraints = array
@@ -729,7 +739,7 @@  discard block
 block discarded – undo
729 739
      *
730 740
      * @param array $constraints
731 741
      * @param boolean $delete_blob
732
-     * @return boolean False if one or more attachments couldn't be deleted
742
+     * @return integer False if one or more attachments couldn't be deleted
733 743
      * @todo Implement delete_blob & return value
734 744
      */
735 745
     public function purge_attachments(array $constraints = array(), $delete_blob = true)
@@ -834,6 +844,9 @@  discard block
 block discarded – undo
834 844
         return new \midgard_reflection_property(get_called_class());
835 845
     }
836 846
 
847
+    /**
848
+     * @param string $guid
849
+     */
837 850
     public function set_guid($guid)
838 851
     {
839 852
         parent::__set('guid', $guid);
Please login to merge, or discard this patch.