Completed
Push — master ( 6ed6e7...ca5679 )
by Lars
26:16 queued 07:58
created
src/Intraface/modules/invoice/PaymentGateway.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@  discard block
 block discarded – undo
19 19
         $this->dbquery = $this->getDBQuery();
20 20
     }
21 21
 
22
+    /**
23
+     * @param string|null $id
24
+     */
22 25
     function findById($id)
23 26
     {
24 27
         $db = new DB_Sql;
@@ -113,7 +116,7 @@  discard block
 block discarded – undo
113 116
     /**
114 117
      * returns possible payment types
115 118
      *
116
-     * @return array payment types
119
+     * @return string[] payment types
117 120
      *
118 121
      */
119 122
     public static function getTypes()
@@ -128,7 +131,7 @@  discard block
 block discarded – undo
128 131
     /**
129 132
      * returns the possible types payments can be for.
130 133
      *
131
-     * @return array payment for types
134
+     * @return string[] payment for types
132 135
      */
133 136
     private static function getPaymentForTypes()
134 137
     {
Please login to merge, or discard this patch.
src/Intraface/modules/invoice/Pdf/Reminder.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
     private $db;
12 12
     public $error;
13 13
 
14
+    /**
15
+     * @param Reminder $reminder
16
+     */
14 17
     function __construct($reminder, $id = 0)
15 18
     {
16 19
         $this->reminder = $reminder;
Please login to merge, or discard this patch.
src/Intraface/modules/invoice/Reminder.php 1 patch
Doc Comments   +13 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@  discard block
 block discarded – undo
36 36
         return $this->dbquery;
37 37
     }
38 38
 
39
+    /**
40
+     * @param string $type
41
+     */
39 42
     function getItems($type = null)
40 43
     {
41 44
         $this->loadItem();
@@ -297,7 +300,8 @@  discard block
 block discarded – undo
297 300
     /**
298 301
      * Sets status for the reminder
299 302
      *
300
-     * @return true / false
303
+     * @param string $status
304
+     * @return boolean / false
301 305
      */
302 306
     function setStatus($status)
303 307
     {
@@ -356,7 +360,7 @@  discard block
 block discarded – undo
356 360
     /**
357 361
      * returns DebtorAccount object
358 362
      *
359
-     * @return object DebtorAccount
363
+     * @return DebtorAccount DebtorAccount
360 364
      */
361 365
     public function getDebtorAccount()
362 366
     {
@@ -575,6 +579,11 @@  discard block
 block discarded – undo
575 579
      * @param object year stating year
576 580
      * @param integer voucher_number
577 581
      * @param string voucher_date
582
+     * @param Year $year
583
+     * @param integer $voucher_number
584
+     * @param string $voucher_date
585
+     * @param integer $credit_account_number
586
+     * @param Stub_Translation $translation
578 587
      * @return boolean true or false
579 588
      */
580 589
     function state($year, $voucher_number, $voucher_date, $credit_account_number, $translation)
@@ -687,7 +696,7 @@  discard block
 block discarded – undo
687 696
     /**
688 697
      * returns possible status types
689 698
      *
690
-     * @return array possible status types
699
+     * @return string[] possible status types
691 700
      */
692 701
     private static function getStatusTypes()
693 702
     {
@@ -702,7 +711,7 @@  discard block
 block discarded – undo
702 711
     /**
703 712
      * returns possible payment methods
704 713
      *
705
-     * @return array possible payment methods
714
+     * @return string[] possible payment methods
706 715
      */
707 716
     private static function getPaymentMethods()
708 717
     {
Please login to merge, or discard this patch.
src/Intraface/modules/invoice/ReminderGateway.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
8 8
 
9 9
 class OnlinePaymentDefault extends OnlinePayment
10 10
 {
11
+    /**
12
+     * @param integer $id
13
+     */
11 14
     function __construct($kernel, $id) {
12 15
 
13 16
         parent::__construct($kernel, $id);
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/ListGateway.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
         return new NewsletterList($this->kernel, $id);
14 14
     }
15 15
 
16
+    /**
17
+     * @param string $contact_id
18
+     */
16 19
     function findByContactId($contact_id)
17 20
     {
18 21
         $db = new DB_Sql;
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/NewsletterSubscriber.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     /**
177 177
      * Adds an existing contact
178 178
      *
179
-     * @param integer $contact_id Contact id
179
+     * @param integer $contact Contact id
180 180
      *
181 181
      * @return integer of the id of the subscriber
182 182
      */
@@ -489,6 +489,9 @@  discard block
 block discarded – undo
489 489
         }
490 490
     }
491 491
 
492
+    /**
493
+     * @param Contact $contact
494
+     */
492 495
     private function getLoginUrl($contact)
493 496
     {
494 497
         if (!$link = $this->list->get('optin_link')) {
@@ -548,7 +551,7 @@  discard block
 block discarded – undo
548 551
     }
549 552
 
550 553
     /**
551
-     * @param object $observer Must implement an update() method
554
+     * @param FakeObserver $observer Must implement an update() method
552 555
      */
553 556
     public function addObserver($observer)
554 557
     {
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/Observer/OptinMail.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * Constructor
20 20
      *
21
-     * @param object $list Newsletter list
21
+     * @param FakeNewsletterList $list Newsletter list
22 22
      *
23 23
      * @return void
24 24
      */
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) {
@@ -321,6 +325,9 @@  discard block
 block discarded – undo
321 325
 
322 326
     }
323 327
 
328
+    /**
329
+     * @param string $status
330
+     */
324 331
     function setStatus($status)
325 332
     {
326 333
         if ($this->id == 0) {
@@ -582,7 +589,7 @@  discard block
 block discarded – undo
582 589
     /**
583 590
      * returns the possible status types
584 591
      *
585
-     * @return array with status types
592
+     * @return string[] with status types
586 593
      */
587 594
     static function getStatusTypes()
588 595
     {
@@ -598,7 +605,7 @@  discard block
 block discarded – undo
598 605
     /**
599 606
      * returns possible belong to types
600 607
      *
601
-     * @return array with belong to types
608
+     * @return string[] with belong to types
602 609
      */
603 610
     private function getBelongToTypes()
604 611
     {
@@ -611,7 +618,7 @@  discard block
 block discarded – undo
611 618
     /**
612 619
      * returns the implemented providers
613 620
      *
614
-     * @return array with providers
621
+     * @return string[] with providers
615 622
      */
616 623
     static function getImplementedProviders()
617 624
     {
Please login to merge, or discard this patch.
src/Intraface/modules/onlinepayment/provider/DanDomain.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
8 8
 
9 9
 class OnlinePaymentDefault extends OnlinePayment
10 10
 {
11
+    /**
12
+     * @param integer $id
13
+     */
11 14
     function __construct($kernel, $id) {
12 15
 
13 16
         parent::__construct($kernel, $id);
Please login to merge, or discard this patch.