Completed
Pull Request — master (#20)
by Lars
15:27
created
src/Intraface/modules/debtor/Debtor.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
      *
144 144
      * @param object  $kernel Kernel
145 145
      * @param integer $id     Debtor id or debtor identifier_key
146
-     * @param type    $tpye   String TODO What is this used for as a last parameter?
146
+     * @param type    $type   String TODO What is this used for as a last parameter?
147 147
      */
148 148
     public static function factory($kernel, $id = 0, $type = "")
149 149
     {
@@ -618,7 +618,7 @@  discard block
 block discarded – undo
618 618
     /**
619 619
      * S�tter status for debtoren
620 620
      *
621
-     * @return true / false
621
+     * @return boolean / false
622 622
      */
623 623
     public function setStatus($status)
624 624
     {
@@ -676,7 +676,7 @@  discard block
 block discarded – undo
676 676
      * @param string  $from    Where from
677 677
      * @param integer $from_id From id
678 678
      *
679
-     * @return true / false
679
+     * @return boolean / false
680 680
      */
681 681
     private function setFrom($from = 'manuel', $from_id = 0)
682 682
     {
@@ -1135,7 +1135,7 @@  discard block
 block discarded – undo
1135 1135
     /**
1136 1136
      * Gets the intranet address
1137 1137
      *
1138
-     * @return object
1138
+     * @return Intraface_Address
1139 1139
      */
1140 1140
     public function getIntranetAddress()
1141 1141
     {
@@ -1173,7 +1173,7 @@  discard block
 block discarded – undo
1173 1173
     /**
1174 1174
      * Returns the total amount on Debtor
1175 1175
      *
1176
-     * @return object Ilib_Variable_Float with total
1176
+     * @return Ilib_Variable_Float Ilib_Variable_Float with total
1177 1177
      */
1178 1178
     public function getTotal()
1179 1179
     {
@@ -1198,7 +1198,7 @@  discard block
 block discarded – undo
1198 1198
     /**
1199 1199
      * Returns arrears on a debtor
1200 1200
      *
1201
-     * @return object Ilib_Variable_Float with arrears
1201
+     * @return Ilib_Variable_Float Ilib_Variable_Float with arrears
1202 1202
      */
1203 1203
     public function getArrears()
1204 1204
     {
@@ -1221,7 +1221,7 @@  discard block
 block discarded – undo
1221 1221
     /**
1222 1222
      * returns the possible debtor types!
1223 1223
      *
1224
-     * @return array types
1224
+     * @return string[] types
1225 1225
      */
1226 1226
     static function getDebtorTypes()
1227 1227
     {
@@ -1235,7 +1235,7 @@  discard block
 block discarded – undo
1235 1235
     /**
1236 1236
      * returns the possible places where the debtor comes from
1237 1237
      *
1238
-     * @return array with the allowed froms
1238
+     * @return string[] with the allowed froms
1239 1239
      */
1240 1240
     private function getFromTypes()
1241 1241
     {
@@ -1251,7 +1251,7 @@  discard block
 block discarded – undo
1251 1251
     /**
1252 1252
      * returns possible status types
1253 1253
      *
1254
-     * @return array possible status types
1254
+     * @return string[] possible status types
1255 1255
      */
1256 1256
     private function getStatusTypes()
1257 1257
     {
@@ -1266,7 +1266,7 @@  discard block
 block discarded – undo
1266 1266
     /**
1267 1267
      * returns possible payment methods
1268 1268
      *
1269
-     * @return array possible payment methods
1269
+     * @return string[] possible payment methods
1270 1270
      */
1271 1271
     private function getPaymentMethods()
1272 1272
     {
Please login to merge, or discard this patch.
src/Intraface/modules/debtor/DebtorItem.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
     /**
241 241
      * Gets the tax percent on the individual product
242 242
      *
243
-     * @return float
243
+     * @return integer
244 244
      */
245 245
     public function getTaxPercent()
246 246
     {
@@ -570,7 +570,7 @@  discard block
 block discarded – undo
570 570
     /**
571 571
      * Returns position object
572 572
      *
573
-     * @return object Ilib_Position
573
+     * @return Ilib_Position Ilib_Position
574 574
      */
575 575
     function getPosition($db)
576 576
     {
Please login to merge, or discard this patch.
src/Intraface/modules/debtor/Pdf.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     /**
35 35
      * Creates the document to write
36 36
      *
37
-     * @return PdfMaker object
37
+     * @return Intraface_Pdf object
38 38
      */
39 39
     protected function getDocument()
40 40
     {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      * @param string $type     Output to type (string or file)
49 49
      * @param string $filename Filename
50 50
      *
51
-     * @return void
51
+     * @return string|null
52 52
      */
53 53
     function output($type = 'string', $filename = 'debtor.pdf')
54 54
     {
Please login to merge, or discard this patch.
src/Intraface/modules/filemanager/AppendFile.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
      * @param string  $belong_to    Which type the file belongs to
27 27
      * @param integer $belong_to_id The id this appended file belongs to
28 28
      *
29
-     * @return void
29
+     * @return integer
30 30
      */
31 31
     public function __construct($kernel, $belong_to, $belong_to_id)
32 32
     {
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
     /**
158 158
      * Adds an array with files
159 159
      *
160
-     * @param array $files An array with files
160
+     * @param FakeAppendFileFile[] $files An array with files
161 161
      *
162 162
      * @return boolean
163 163
      */
@@ -188,6 +188,7 @@  discard block
 block discarded – undo
188 188
     /**
189 189
      * Undelete
190 190
      *
191
+     * @param integer $id
191 192
      * @return boolean
192 193
      */
193 194
     public function undelete($id)
Please login to merge, or discard this patch.
src/Intraface/modules/filemanager/FileHandler.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
     /**
199 199
      * Creates a filehandler
200 200
      *
201
-     * @param object $kernel     Kernel object
201
+     * @param Stub_Kernel $kernel     Kernel object
202 202
      * @param string $access_key The accesskey
203 203
      *
204 204
      * @return object
@@ -359,7 +359,8 @@  discard block
 block discarded – undo
359 359
      * creates and temporary file handler
360 360
      *
361 361
      * @param string optional file name
362
-     * @return object temporary file
362
+     * @param string $file_name
363
+     * @return TemporaryFile temporary file
363 364
      */
364 365
     public function createTemporaryFile($file_name = null)
365 366
     {
@@ -689,8 +690,7 @@  discard block
 block discarded – undo
689 690
     /**
690 691
      * Returns RandomKeyGenerator
691 692
      *
692
-     * @param integer $length the length of the random key
693
-     * @return object RandomKeyGenerator
693
+     * @return Ilib_RandomKeyGenerator RandomKeyGenerator
694 694
      */
695 695
     private function getRandomKeyGenerator()
696 696
     {
Please login to merge, or discard this patch.
src/Intraface/modules/filemanager/FileManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     /**
51 51
      * Creates the keywords object
52 52
      *
53
-     * @return object
53
+     * @return Keyword
54 54
      */
55 55
     public function getKeywords()
56 56
     {
Please login to merge, or discard this patch.
src/Intraface/modules/filemanager/ImageHandler.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * Constructor
30 30
      *
31
-     * @param object $file_handler
31
+     * @param FileHandler $file_handler
32 32
      *
33 33
      * @return void
34 34
      */
@@ -141,8 +141,8 @@  discard block
 block discarded – undo
141 141
      *
142 142
      * @param float  $width  Width
143 143
      * @param float  $height Height
144
-     * @param float $offset_x offset x
145
-     * @param float $offset_y offset y
144
+     * @param integer $offset_x offset x
145
+     * @param integer $offset_y offset y
146 146
      *
147 147
      * @return string new file name
148 148
      */
Please login to merge, or discard this patch.
src/Intraface/modules/filemanager/ImageRandomizer.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * Constructor
23 23
      *
24
-     * @param object $file_manager file handler
24
+     * @param Intraface_modules_filemanager_FileManager $file_manager file handler
25 25
      * @param array  $keywords     array with keywords
26 26
      *
27 27
      * @return void
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * returns dbquery
72 72
      *
73
-     * @return object dbquery
73
+     * @return Ilib_DBQuery dbquery
74 74
      */
75 75
     protected function getDBQuery()
76 76
     {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * return an file object with random image
88 88
      *
89
-     * @return object file_manager with random image loaded
89
+     * @return FileHandler file_manager with random image loaded
90 90
      */
91 91
     public function getRandomImage()
92 92
     {
Please login to merge, or discard this patch.
src/Intraface/modules/filemanager/InstanceHandler.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      * @param object  $file_handler File handler object
35 35
      * @param integer $id           Optional id
36 36
      *
37
-     * @return void
37
+     * @return string
38 38
      */
39 39
     function __construct($file_handler, $id = 0)
40 40
     {
@@ -65,11 +65,11 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * Factory
67 67
      *
68
-     * @param object $file_handler File handler
69
-     * @param string $type         the instance type
68
+     * @param FileHandler $file_handler File handler
70 69
      * @param array  $param        one or more of crop_width, crop_height, crop_offset_x, crop_offset_y
70
+     * @param string $type_name
71 71
      *
72
-     * @return object
72
+     * @return InstanceHandler
73 73
      */
74 74
     function factory($file_handler, $type_name, $param = array())
75 75
     {
Please login to merge, or discard this patch.