Completed
Branch master (9c4346)
by Patrick
10:57
created
class.FlipSession.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@  discard block
 block discarded – undo
26 26
      * Get a variable from the session
27 27
      *
28 28
      * @SuppressWarnings(PHPMD.Superglobals)
29
+     * @param string $name
29 30
      */
30 31
     static function getVar($name, $default = false)
31 32
     {
@@ -43,6 +44,7 @@  discard block
 block discarded – undo
43 44
      * Set a variable in the session
44 45
      *
45 46
      * @SuppressWarnings(PHPMD.Superglobals)
47
+     * @param string $name
46 48
      */
47 49
     static function setVar($name, $value)
48 50
     {
@@ -146,6 +148,9 @@  discard block
 block discarded – undo
146 148
         }
147 149
     }
148 150
 
151
+    /**
152
+     * @param string $sessionData
153
+     */
149 154
     static function unserializePhpSession($sessionData)
150 155
     {
151 156
         $res = array();
Please login to merge, or discard this patch.
class.FlipsideCAPTCHA.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@
 block discarded – undo
69 69
         return $data[0]['hint'];
70 70
     }
71 71
 
72
+    /**
73
+     * @return string
74
+     */
72 75
     private function get_answer()
73 76
     {
74 77
         $dataset = DataSetFactory::get_data_set('profiles');
Please login to merge, or discard this patch.
class.SerializableObject.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     /**
38 38
      * Serialize the object into a format consumable by json_encode
39 39
      *
40
-     * @return mixed The object in a more serialized format
40
+     * @return SerializableObject The object in a more serialized format
41 41
      */
42 42
     public function jsonSerialize()
43 43
     {
Please login to merge, or discard this patch.
Data/class.FilterClause.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -12,11 +12,17 @@
 block discarded – undo
12 12
         if($string !== false) $this->process_filter_string($string);
13 13
     }
14 14
 
15
+    /**
16
+     * @param string $needle
17
+     */
15 18
     static function str_startswith($haystack, $needle)
16 19
     {
17 20
         return substr($haystack, 0, strlen($needle)) === $needle;
18 21
     }
19 22
 
23
+    /**
24
+     * @param boolean $string
25
+     */
20 26
     protected function process_filter_string($string)
21 27
     {
22 28
         if(self::str_startswith($string, 'substringof') || self::str_startswith($string, 'contains') || 
Please login to merge, or discard this patch.
Data/class.SQLDataSet.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
+     * @param string $sql
22
+     */
20 23
     function _get_row_count_for_query($sql)
21 24
     {
22 25
         $stmt = $this->pdo->query($sql);
Please login to merge, or discard this patch.
Data/class.SQLDataTable.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -6,6 +6,9 @@
 block discarded – undo
6 6
     protected $dataset;
7 7
     protected $tablename;
8 8
 
9
+    /**
10
+     * @param SQLDataSet $dataset
11
+     */
9 12
     function __construct($dataset, $tablename)
10 13
     {
11 14
         $this->dataset   = $dataset;
Please login to merge, or discard this patch.
Email/class.Email.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     /**
73 73
      * Who is this email going to
74 74
      *
75
-     * @return array The recipients of the email
75
+     * @return string The recipients of the email
76 76
      */
77 77
     public function getToAddresses()
78 78
     {
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     /**
83 83
      * Who is this email going to (CC)
84 84
      *
85
-     * @return array The recipients of the email
85
+     * @return string The recipients of the email
86 86
      */
87 87
     public function getCCAddresses()
88 88
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     /**
93 93
      * Who is this email going to (BCC)
94 94
      *
95
-     * @return array The recipients of the email
95
+     * @return string The recipients of the email
96 96
      */
97 97
     public function getBCCAddresses()
98 98
     {
Please login to merge, or discard this patch.
Email/class.EmailService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@
 block discarded – undo
12 12
         return false;
13 13
     }
14 14
 
15
+    /**
16
+     * @param Email $email
17
+     */
15 18
     public function sendEmail($email)
16 19
     {
17 20
         return false;
Please login to merge, or discard this patch.
LDAP/class.LDAPServer.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -117,6 +117,9 @@  discard block
 block discarded – undo
117 117
         $this->connect = false;
118 118
     }
119 119
 
120
+    /**
121
+     * @param string $password
122
+     */
120 123
     function bind($cn=null, $password=null)
121 124
     {
122 125
         $res = false;
@@ -199,6 +202,9 @@  discard block
 block discarded – undo
199 202
         return $ret;
200 203
     }
201 204
 
205
+    /**
206
+     * @param boolean $filter
207
+     */
202 208
     private function filterToString($filter)
203 209
     {
204 210
         if($filter === false)
Please login to merge, or discard this patch.