Completed
Push — master ( d208aa...25518b )
by Lars
12:37
created
tests/unit/Stub/Setting.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -12,6 +12,10 @@
 block discarded – undo
12 12
         return $this->setting[$type][$setting];
13 13
     }
14 14
 
15
+    /**
16
+     * @param string $type
17
+     * @param string $key
18
+     */
15 19
     function set($type, $key, $value)
16 20
     {
17 21
         $this->setting[$type][$key] = $value;
Please login to merge, or discard this patch.
src/Intraface/modules/newsletter/Newsletter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -294,7 +294,7 @@
 block discarded – undo
294 294
      *
295 295
      * @param integer $id Contact id
296 296
      *
297
-     * @return object
297
+     * @return Contact
298 298
      */
299 299
     function getContact($id)
300 300
     {
Please login to merge, or discard this patch.
src/Intraface/Controller/TestLogin.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -47,6 +47,10 @@
 block discarded – undo
47 47
         return $this->render();
48 48
     }
49 49
 
50
+    /**
51
+     * @param string $username
52
+     * @param string $password
53
+     */
50 54
     protected function selectUser($username, $password)
51 55
     {
52 56
         $adapter = new Intraface_Auth_User($this->mdb2, $this->session()->sessionId(), $username, $password);
Please login to merge, or discard this patch.
src/Intraface/functions.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -58,6 +58,7 @@
 block discarded – undo
58 58
     /**
59 59
      * This function is dynamically redefinable.
60 60
      * @see $GLOBALS['_global_function_callback_email']
61
+     * @param string $args
61 62
      */
62 63
     function autoop($args)
63 64
     {
Please login to merge, or discard this patch.
src/Intraface/Log.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -6,6 +6,9 @@  discard block
 block discarded – undo
6 6
 
7 7
 interface Observer
8 8
 {
9
+    /**
10
+     * @return boolean
11
+     */
9 12
     function update($code, $msg);
10 13
 }
11 14
 
@@ -47,6 +50,9 @@  discard block
 block discarded – undo
47 50
         }
48 51
     }
49 52
 
53
+    /**
54
+     * @param string $table
55
+     */
50 56
     function tableExists($table)
51 57
     {
52 58
         $this->db->loadModule('Manager', null, true);
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/AccountGateway.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * @deprecated
67 67
      * @param $id
68
-     * @return unknown_type
68
+     * @return Account
69 69
      */
70 70
     function findFromId($id)
71 71
     {
@@ -78,6 +78,9 @@  discard block
 block discarded – undo
78 78
         return new Account($this->year, $id);
79 79
     }
80 80
 
81
+    /**
82
+     * @param string $type
83
+     */
81 84
     function findByType($type, $saldo = false)
82 85
     {
83 86
         return $this->getList($type, $saldo);
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/YearEnd.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -73,6 +73,9 @@  discard block
 block discarded – undo
73 73
         return true;
74 74
     }
75 75
 
76
+    /**
77
+     * @param string $action
78
+     */
76 79
     function setStated($action, $voucher_id)
77 80
     {
78 81
         $db = new DB_Sql;
@@ -106,6 +109,7 @@  discard block
 block discarded – undo
106 109
      * credit-konto
107 110
      * amount
108 111
      *
112
+     * @param string $action
109 113
      */
110 114
     function saveStatedAction($action, $voucher_id, $debet_account_id, $credit_account_id, $amount)
111 115
     {
@@ -121,6 +125,9 @@  discard block
 block discarded – undo
121 125
         return true;
122 126
     }
123 127
 
128
+    /**
129
+     * @param string $action
130
+     */
124 131
     function getStatedActions($action)
125 132
     {
126 133
         $db = new DB_Sql;
@@ -154,6 +161,7 @@  discard block
 block discarded – undo
154 161
      * bør vel egentlig ikke være muligt! Måske kan man forestille sig, at den så bare
155 162
      * gemmer videre og at den ved get lægger tallene i amount sammen?
156 163
      *
164
+     * @param string $type
157 165
      */
158 166
     function saveStatement($type)
159 167
     {
@@ -198,6 +206,9 @@  discard block
 block discarded – undo
198 206
         return new Account($this->year, $id);
199 207
     }
200 208
 
209
+    /**
210
+     * @param string $type
211
+     */
201 212
     function getStatement($type)
202 213
     {
203 214
 
Please login to merge, or discard this patch.
src/Intraface/modules/administration/UserAdministration.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
  */
15 15
 class UserAdministration extends Intraface_User
16 16
 {
17
+    /**
18
+     * @param integer $id
19
+     */
17 20
     function __construct($kernel, $id)
18 21
     {
19 22
         parent::__construct($id);
Please login to merge, or discard this patch.
src/Intraface/modules/cms/Controller/Templates.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
         }
18 18
     }
19 19
 
20
+    /**
21
+     * @return integer
22
+     */
20 23
     function getSiteId()
21 24
     {
22 25
          return $this->context->name();
Please login to merge, or discard this patch.