Passed
Push — master ( e4006a...0c4633 )
by Lars
21:40 queued 06:51
created
src/Intraface/modules/debtor/DebtorGateway.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     /**
21 21
      * returns the possible debtor types!
22 22
      *
23
-     * @return array types
23
+     * @return string[] types
24 24
      */
25 25
     static function getDebtorTypes()
26 26
     {
@@ -60,8 +60,6 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * Bruges til at lave en menu p� kontakten eller produktet
62 62
      *
63
-     * @param string  $type    contact eller product
64
-     * @param integer $type_id id p� contact eller product.
65 63
      *
66 64
      * @return integer
67 65
      */
@@ -95,6 +93,9 @@  discard block
 block discarded – undo
95 93
         return $db->numRows();
96 94
     }
97 95
 
96
+    /**
97
+     * @param integer $id
98
+     */
98 99
     function findById($id)
99 100
     {
100 101
         if (is_int($id) && $id != 0) {
Please login to merge, or discard this patch.
src/Intraface/modules/debtor/PaymentMethod.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     /**
14 14
      * Do not change the key for the payment methods
15 15
      *
16
-     * @return array The possible payment types
16
+     * @return string[] The possible payment types
17 17
      */
18 18
     public function getTypes()
19 19
     {
@@ -30,6 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
     /**
32 32
      * Returns specific payment method
33
+     * @param string $method
33 34
      */
34 35
     public function getByName($method)
35 36
     {
Please login to merge, or discard this patch.
src/Intraface/modules/filemanager/FileHandlerHTML.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@
 block discarded – undo
79 79
 {
80 80
     private $file_handler;
81 81
 
82
+    /**
83
+     * @param FileHandler $file_handler
84
+     */
82 85
     function __construct($file_handler)
83 86
     {
84 87
         $this->file_handler = $file_handler;
Please login to merge, or discard this patch.
src/Intraface/modules/filemanager/InstanceManager.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -225,7 +225,6 @@  discard block
 block discarded – undo
225 225
      * Checks whether a name is free to use
226 226
      * 
227 227
      * @param string $name 
228
-     * @param integer $id integer which should not be checked
229 228
      * @return boolean true or false
230 229
      */
231 230
     private function isNameFree($name, $type_key = 0) 
@@ -367,7 +366,7 @@  discard block
 block discarded – undo
367 366
     /**
368 367
      * returns the resize types
369 368
      * 
370
-     * @return array resize types
369
+     * @return string[] resize types
371 370
      */
372 371
     public function getResizeTypes() {
373 372
         return array(0 => 'relative', 1 => 'strict'); 
Please login to merge, or discard this patch.
src/Intraface/modules/intranetmaintenance/Controller/Intranet/Show.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -207,6 +207,9 @@
 block discarded – undo
207 207
     	$this->removeDir('/home/intraface/upload/' . $intranet_id . '/');
208 208
     }
209 209
 
210
+    /**
211
+     * @param string $path
212
+     */
210 213
     protected function removeDir($path)
211 214
     {
212 215
 		// Add trailing slash to $path if one is not there
Please login to merge, or discard this patch.
src/Intraface/modules/invoice/DebtorAccount.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * returns Payment object
40 40
      * 
41
-     * @return object Payment
41
+     * @return Payment Payment
42 42
      */
43 43
     private function getPayment() 
44 44
     {
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * returns depreciation object
51 51
      * 
52
-     * @return object Depreciation
52
+     * @return Depreciation Depreciation
53 53
      */
54 54
     private function getDepreciation() 
55 55
     {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * Returns Credit note object
62 62
      * 
63
-     * @return object creditnote
63
+     * @return CreditNote creditnote
64 64
      */
65 65
     private function getCreditNote() 
66 66
     {
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/AccessUpdate.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      * Run the AccessUpdate and applies module access acording to module packages
36 36
      *
37 37
      * @param integer intranet_id id on intranet, and the access update will only run on this intranet.
38
-     * @return boolean true on success, false on failure
38
+     * @return null|boolean true on success, false on failure
39 39
      */
40 40
     public function run($intranet_id = 0)
41 41
     {
Please login to merge, or discard this patch.
src/Intraface/modules/modulepackage/Action.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,8 +155,9 @@
 block discarded – undo
155 155
      * Executes the actions by adding and deleting module packages according to the actions
156 156
      *
157 157
      * @param object intranet intranet object
158
+     * @param Intraface_Intranet $intranet
158 159
      *
159
-     * @return boolean true or false.
160
+     * @return null|boolean true or false.
160 161
      */
161 162
     public function execute($intranet)
162 163
     {
Please login to merge, or discard this patch.