@@ -23,6 +23,9 @@ |
||
23 | 23 | return $this->context->getKernel(); |
24 | 24 | } |
25 | 25 | |
26 | + /** |
|
27 | + * @return Invoice |
|
28 | + */ |
|
26 | 29 | function getModel() |
27 | 30 | { |
28 | 31 | return $this->context->getModel(); |
@@ -77,7 +77,6 @@ |
||
77 | 77 | * s� man kan se, hvad folk er interesseret i. |
78 | 78 | * S�gemaskinen skal v�re tolerant for stavefejl |
79 | 79 | * |
80 | - * @param object $search |
|
81 | 80 | * |
82 | 81 | * @return object collection containing products |
83 | 82 | */ |
@@ -20,7 +20,7 @@ discard block |
||
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 |
||
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 |
||
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) { |
@@ -13,7 +13,7 @@ discard block |
||
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 |
||
30 | 30 | |
31 | 31 | /** |
32 | 32 | * Returns specific payment method |
33 | + * @param string $method |
|
33 | 34 | */ |
34 | 35 | public function getByName($method) |
35 | 36 | { |
@@ -22,6 +22,9 @@ |
||
22 | 22 | return $this->dbquery; |
23 | 23 | } |
24 | 24 | |
25 | + /** |
|
26 | + * @param integer $id |
|
27 | + */ |
|
25 | 28 | function findById($id) |
26 | 29 | { |
27 | 30 | require_once dirname(__FILE__) . '/Reminder.php'; |
@@ -35,7 +35,7 @@ |
||
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 | { |
@@ -155,8 +155,9 @@ |
||
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 | { |
@@ -234,7 +234,7 @@ |
||
234 | 234 | /** |
235 | 235 | * Returns order details from order identifier |
236 | 236 | * |
237 | - * @param string $order_identifier |
|
237 | + * @param string $order_identification |
|
238 | 238 | * @return array |
239 | 239 | */ |
240 | 240 | public function getOrderDetails($order_identification) |
@@ -57,6 +57,9 @@ discard block |
||
57 | 57 | return $db->numRows(); |
58 | 58 | } |
59 | 59 | |
60 | + /** |
|
61 | + * @param string $code |
|
62 | + */ |
|
60 | 63 | function findByCode($code) |
61 | 64 | { |
62 | 65 | // kernel og kode |
@@ -73,6 +76,9 @@ discard block |
||
73 | 76 | return new NewsletterSubscriber(new NewsletterList($this->kernel, $db->f('list_id')), $db->f('id')); |
74 | 77 | } |
75 | 78 | |
79 | + /** |
|
80 | + * @param string $email |
|
81 | + */ |
|
76 | 82 | function findByListAndEmail($list, $email) |
77 | 83 | { |
78 | 84 | $email = safeToDb($email); |