Completed
Pull Request — master (#27)
by Lars
11:57
created
src/Intraface/modules/invoice/CreditNote.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@  discard block
 block discarded – undo
15 15
         parent::__construct($kernel, 'credit_note', $id);
16 16
     }
17 17
 
18
+    /**
19
+     * @param string $status
20
+     */
18 21
     function setStatus($status)
19 22
     {
20 23
         $return = parent::setStatus($status);
@@ -37,6 +40,9 @@  discard block
 block discarded – undo
37 40
         }
38 41
     }
39 42
 
43
+    /**
44
+     * @return boolean
45
+     */
40 46
     function readyForState($year, $check_products = 'check_products')
41 47
     {
42 48
         if (!is_object($year)) {
@@ -93,6 +99,14 @@  discard block
 block discarded – undo
93 99
         return $return;
94 100
     }
95 101
 
102
+    /**
103
+     * @param Year $year
104
+     * @param integer $voucher_number
105
+     * @param string $voucher_date
106
+     * @param Stub_Translation $translation
107
+     *
108
+     * @return boolean
109
+     */
96 110
     function state($year, $voucher_number, $voucher_date, $translation)
97 111
     {
98 112
         if (!is_object($year)) {
Please login to merge, or discard this patch.
src/Intraface/modules/onlinepayment/OnlinePayment.php 1 patch
Doc Comments   +10 added lines, -3 removed lines patch added patch discarded remove patch
@@ -298,6 +298,10 @@  discard block
 block discarded – undo
298 298
         return $this->id;
299 299
     }
300 300
 
301
+    /**
302
+     * @param string $belong_to
303
+     * @param integer $belong_to_id
304
+     */
301 305
     function changeBelongTo($belong_to, $belong_to_id)
302 306
     {
303 307
         if ($this->id == 0) {
@@ -320,6 +324,9 @@  discard block
 block discarded – undo
320 324
         return $this->id;
321 325
     }
322 326
 
327
+    /**
328
+     * @param string $status
329
+     */
323 330
     function setStatus($status)
324 331
     {
325 332
         if ($this->id == 0) {
@@ -580,7 +587,7 @@  discard block
 block discarded – undo
580 587
     /**
581 588
      * returns the possible status types
582 589
      *
583
-     * @return array with status types
590
+     * @return string[] with status types
584 591
      */
585 592
     static function getStatusTypes()
586 593
     {
@@ -596,7 +603,7 @@  discard block
 block discarded – undo
596 603
     /**
597 604
      * returns possible belong to types
598 605
      *
599
-     * @return array with belong to types
606
+     * @return string[] with belong to types
600 607
      */
601 608
     private function getBelongToTypes()
602 609
     {
@@ -609,7 +616,7 @@  discard block
 block discarded – undo
609 616
     /**
610 617
      * returns the implemented providers
611 618
      *
612
-     * @return array with providers
619
+     * @return string[] with providers
613 620
      */
614 621
     static function getImplementedProviders()
615 622
     {
Please login to merge, or discard this patch.