Completed
Push — master ( 9d10c2...bf46e5 )
by Lars
05:14
created
src/DB/Sql.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@  discard block
 block discarded – undo
26 26
         $this->db->setOption('portability', MDB2_PORTABILITY_NONE);
27 27
     }
28 28
 
29
+    /**
30
+     * @param string $SQL
31
+     */
29 32
     function query($SQL)
30 33
     {
31 34
         $this->result = $this->db->query($SQL);
@@ -101,6 +104,9 @@  discard block
 block discarded – undo
101 104
         return mysql_escape_string($value);
102 105
     }
103 106
 
107
+    /**
108
+     * @param string $type
109
+     */
104 110
     function quote($value, $type)
105 111
     {
106 112
         return $this->db->quote($value, $type);
Please login to merge, or discard this patch.
src/Intraface/AddressGateway.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      * @param string  $belong_to    What the address belongs to, corresponding to the ones in Address::getBelongToTypes()
15 15
      * @param integer $belong_to_id From belong_to. NB not id on the address
16 16
      *
17
-     * @return object Address
17
+     * @return Intraface_Address Address
18 18
      */
19 19
     public function findByBelongToAndId($belong_to, $belong_to_id)
20 20
     {
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
         $args = func_get_args();
Please login to merge, or discard this patch.
src/Intraface/KernelGateway.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
8 8
         $this->translation = $translation;
9 9
     }
10 10
 
11
+    /**
12
+     * @param Intraface_User $user
13
+     */
11 14
     function findByUserobject($user)
12 15
     {
13 16
         $kernel = new Intraface_Kernel(session_id());
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/PostGateway.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      *
24 24
      * @param object $voucher
25 25
      *
26
-     * @return void
26
+     * @return string
27 27
      */
28 28
     function __construct($voucher)
29 29
     {
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/VoucherFileGateway.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@
 block discarded – undo
90 90
         return $files;
91 91
     }
92 92
 
93
+    /**
94
+     * @param string $url
95
+     */
93 96
     function url($url)
94 97
     {
95 98
         return PATH_WWW . 'restricted' . $url;
Please login to merge, or discard this patch.
src/Intraface/modules/accounting/VoucherGateway.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      *
17 17
      * @param object  $year_object
18 18
      *
19
-     * @return void
19
+     * @return string
20 20
      */
21 21
     public function __construct($year_object)
22 22
     {
@@ -32,10 +32,9 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * Creates a voucher
34 34
      *
35
-     * @param object $year
36 35
      * @param string $voucher_number
37 36
      *
38
-     * @return void
37
+     * @return Voucher
39 38
      */
40 39
     public function findFromVoucherNumber($voucher_number)
41 40
     {
Please login to merge, or discard this patch.