Completed
Push — master ( d208aa...25518b )
by Lars
12:37
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.
tests/unit/Accounting/VatPeriodTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
47 47
         $this->value['saldo'] = 100;
48 48
     }
49 49
 
50
+    /**
51
+     * @param string $type
52
+     */
50 53
     function getSaldo($type, $date_from, $date_to)
51 54
     {
52 55
     }
@@ -77,6 +80,9 @@  discard block
 block discarded – undo
77 80
         return 1;
78 81
     }
79 82
 
83
+    /**
84
+     * @param integer $id
85
+     */
80 86
     function getAccount($id)
81 87
     {
82 88
         return new FakeVatPeriodAccount(new FakeVatPeriodYear, $id);
Please login to merge, or discard this patch.
tests/unit/Debtor/DebtorTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -63,6 +63,10 @@  discard block
 block discarded – undo
63 63
 class FakeDebtorSetting
64 64
 {
65 65
 
66
+    /**
67
+     * @param string $type
68
+     * @param string $setting
69
+     */
66 70
     function get($type, $setting)
67 71
     {
68 72
 
@@ -144,6 +148,9 @@  discard block
 block discarded – undo
144 148
         return $currency;
145 149
     }
146 150
 
151
+    /**
152
+     * @param Invoice $debtor
153
+     */
147 154
     function createPayment($debtor)
148 155
     {
149 156
         $payment = new Payment($debtor);
Please login to merge, or discard this patch.