Completed
Push — master ( d208aa...25518b )
by Lars
12:37
created
src/Intraface/modules/invoice/DebtorAccount.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     /**
40 40
      * returns Payment object
41 41
      *
42
-     * @return object Payment
42
+     * @return Payment Payment
43 43
      */
44 44
     private function getPayment()
45 45
     {
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * returns depreciation object
52 52
      *
53
-     * @return object Depreciation
53
+     * @return Depreciation Depreciation
54 54
      */
55 55
     private function getDepreciation()
56 56
     {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * Returns Credit note object
63 63
      *
64
-     * @return object creditnote
64
+     * @return CreditNote creditnote
65 65
      */
66 66
     private function getCreditNote()
67 67
     {
Please login to merge, or discard this patch.
src/Intraface/modules/invoice/Payment.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,10 +39,11 @@  discard block
 block discarded – undo
39 39
     /**
40 40
      * States the payment i the given year
41 41
      *
42
-     * @param object $year Accounting Year object
42
+     * @param Year $year Accounting Year object
43 43
      * @param integer $voucher_number
44 44
      * @param string $voucher_date
45 45
      * @param integer $state_account_number
46
+     * @param Stub_Translation $translation
46 47
      *
47 48
      * @return boolean true on succes or false.
48 49
      */
@@ -136,7 +137,7 @@  discard block
 block discarded – undo
136 137
     /**
137 138
      * returns possible payment types
138 139
      *
139
-     * @return array payment types
140
+     * @return string[] payment types
140 141
      *
141 142
      */
142 143
     public static function getTypes()
@@ -149,7 +150,7 @@  discard block
 block discarded – undo
149 150
     /**
150 151
      * returns the possible types payments can be for.
151 152
      *
152
-     * @return array payment for types
153
+     * @return string[] payment for types
153 154
      */
154 155
     private static function getPaymentForTypes()
155 156
     {
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
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
         parent::__construct($translation, $file);
14 14
     }
15 15
 
16
+    /**
17
+     * @param Reminder $reminder
18
+     */
16 19
     function visit($reminder)
17 20
     {
18 21
         if ($reminder->get('id') == 0) {
Please login to merge, or discard this patch.
src/Intraface/modules/invoice/ReminderItem.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/modulepackage/ActionStore.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
      *
52 52
      * @param object action     An action object
53 53
      *
54
-     * @return boolean true or false
54
+     * @return null|string true or false
55 55
      */
56 56
     public function store($action)
57 57
     {
Please login to merge, or discard this patch.
src/Intraface/modules/modulepackage/Manager.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -249,6 +249,7 @@  discard block
 block discarded – undo
249 249
      * Returns on the basis of the module package which type of add this is. Can be either add, extend, or upgrade
250 250
      *
251 251
      * @param object modulepackage An modulepackage object
252
+     * @param Intraface_modules_modulepackage_ModulePackage $modulepackage
252 253
      *
253 254
      * @return string either 'add', 'extend' or 'upgrade'
254 255
      */
@@ -288,6 +289,7 @@  discard block
 block discarded – undo
288 289
      * Returns the end date of the last modulepacke in a given group
289 290
      *
290 291
      * @param object modulepackage
292
+     * @return string
291 293
      */
292 294
     public function getLastEndDateInGroup($modulepackage)
293 295
     {
@@ -387,6 +389,8 @@  discard block
 block discarded – undo
387 389
      *
388 390
      * @param object modulepackage module package
389 391
      * @param string duration Duration as either date 'dd-mm-yyyy' or 'yyyy-mm-dd' or 'X month' where X is any whole number
392
+     * @param Intraface_modules_modulepackage_ModulePackage $modulepackage
393
+     * @param string $duration
390 394
      *
391 395
      * @return object Action object with the actions needed to be processed
392 396
      */
@@ -453,6 +457,8 @@  discard block
 block discarded – undo
453 457
      *
454 458
      * @param object modulepackage
455 459
      * @param string duration Duration as either date 'dd-mm-yyyy' or 'yyyy-mm-dd' or 'X month' where X is any whole number
460
+     * @param Intraface_modules_modulepackage_ModulePackage $modulepackage
461
+     * @param string $duration
456 462
      *
457 463
      * @return object Action object with the actions needed to be performed
458 464
      */
@@ -603,7 +609,7 @@  discard block
 block discarded – undo
603 609
     /**
604 610
      * Returns the possible types of status'
605 611
      *
606
-     * @return array status types
612
+     * @return string[] status types
607 613
      */
608 614
     public static function getStatusTypes()
609 615
     {
Please login to merge, or discard this patch.
src/Intraface/modules/onlinepayment/provider/Default.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
 
Please login to merge, or discard this patch.
src/Intraface/modules/product/Attribute/Group/Gateway.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      * @todo $doctrine should not be optional
22 22
      *
23 23
      * @param object $doctrine Doctrine_Connection
24
-     * @return void
24
+     * @return integer
25 25
      */
26 26
     public function __construct($doctrine = null)
27 27
     {
Please login to merge, or discard this patch.
src/Intraface/modules/product/Variation/Gateway.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -64,6 +64,7 @@
 block discarded – undo
64 64
     /**
65 65
      * Find a variation from id
66 66
      *
67
+     * @param integer $id
67 68
      * @return object Intraface_modules_product_Variation_OneAttributeGroup or Intraface_modules_product_Variation_TwoAttributeGroups
68 69
      */
69 70
     public function findById($id)
Please login to merge, or discard this patch.