Completed
Push — master ( 594f96...25a0c6 )
by Patrick
02:06
created
Auth/class.LDAPCachableObject.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      *
44 44
      * @param string $fieldName The name of the field to retrieve
45 45
      *
46
-     * @return mixed string the value of the field
46
+     * @return string string the value of the field
47 47
      */
48 48
     protected function getFieldSingleValue($fieldName)
49 49
     {
Please login to merge, or discard this patch.
class.AuthProvider.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -253,10 +253,10 @@
 block discarded – undo
253 253
      * Get an array of Auth\PendingUser from a filtered set
254 254
      *
255 255
      * @param Data\Filter|boolean $filter The filter conditions or false to retreive all
256
-     * @param array|boolean $select The user fields to obtain or false to obtain all
257
-     * @param integer|boolean $top The number of users to obtain or false to obtain all
258
-     * @param integer|boolean $skip The number of users to skip or false to skip none
259
-     * @param array|boolean $orderby The field to sort by and the method to sort or false to not sort
256
+     * @param boolean $select The user fields to obtain or false to obtain all
257
+     * @param boolean $top The number of users to obtain or false to obtain all
258
+     * @param boolean $skip The number of users to skip or false to skip none
259
+     * @param boolean $orderby The field to sort by and the method to sort or false to not sort
260 260
      * @param string|boolean $methodName The AuthMethod if information is desired only from a particular Auth\Authenticator
261 261
      *
262 262
      * @return array|boolean An array of Auth\PendingUser objects or false if no pending users were found
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
             {
79 79
                 if(isset($res['extended']) && isset($res['extended']['jpegphoto']))
80 80
                 {
81
-                    $res['extended']['jpegphoto']=true;
81
+                    $res['extended']['jpegphoto'] = true;
82 82
                 }
83 83
                 FlipSession::setVar('AuthMethod', get_class($this->methods[$i]));
84 84
                 FlipSession::setVar('AuthData', $res);
Please login to merge, or discard this patch.
LDAP/class.LDAPServer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
  * @author Chris Wright
7 7
  * @version 2.0
8 8
  * @param string $subject The subject string
9
- * @param bool $dn Treat subject as a DN if TRUE
10 9
  * @param string|array $ignore Set of characters to leave untouched
11 10
  * @return string The escaped string
12 11
  */
Please login to merge, or discard this patch.
Serialize/class.ExcelSerializer.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -7,6 +7,9 @@
 block discarded – undo
7 7
 {
8 8
     protected $types = array('xlsx', 'xls', 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'application/vnd.ms-excel');
9 9
 
10
+    /**
11
+     * @param integer $row
12
+     */
10 13
     protected function setRowFromArray(&$sheat, $row, $array, $count = 0)
11 14
     {
12 15
         if($count === 0)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
         {
21 21
             if(isset($array[$i]))
22 22
             {
23
-                $sheat->setCellValueByColumnAndRow($i+1, $row, $array[$i]);
23
+                $sheat->setCellValueByColumnAndRow($i + 1, $row, $array[$i]);
24 24
             }
25 25
         }
26 26
     }
Please login to merge, or discard this patch.
Data/class.SQLDataSet.php 4 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
      * @param string $select The colums to read
151 151
      * @param boolean|string $count The number of rows to read
152 152
      * @param boolean|string $skip The number of rows to skip over
153
-     * @param boolean|array $sort The array to sort by or false to not sort
153
+     * @param boolean $sort The array to sort by or false to not sort
154 154
      *
155 155
      * @return false|array An array of all the returned records
156 156
      */
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@
 block discarded – undo
248 248
         if($stmt === false)
249 249
         {
250 250
             if (php_sapi_name() !== "cli") {
251
-              error_log('DB query failed. '.print_r($this->pdo->errorInfo(), true));
251
+                error_log('DB query failed. '.print_r($this->pdo->errorInfo(), true));
252 252
             }
253 253
             return false;
254 254
         }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
         $stmt = $this->pdo->query($sql);
248 248
         if($stmt === false)
249 249
         {
250
-            if (php_sapi_name() !== "cli") {
250
+            if(php_sapi_name() !== "cli") {
251 251
               error_log('DB query failed. '.print_r($this->pdo->errorInfo(), true));
252 252
             }
253 253
             return false;
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
         $sql = "INSERT INTO $tablename ($cols) VALUES ($set);";
297 297
         if($this->pdo->exec($sql) === false)
298 298
         {
299
-            if (php_sapi_name() !== "cli") {
299
+            if(php_sapi_name() !== "cli") {
300 300
                 error_log('DB query failed. '.print_r($this->pdo->errorInfo(), true));
301 301
             }
302 302
             return false;
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -247,7 +247,8 @@  discard block
 block discarded – undo
247 247
         $stmt = $this->pdo->query($sql);
248 248
         if($stmt === false)
249 249
         {
250
-            if (php_sapi_name() !== "cli") {
250
+            if (php_sapi_name() !== "cli")
251
+            {
251 252
               error_log('DB query failed. '.print_r($this->pdo->errorInfo(), true));
252 253
             }
253 254
             return false;
@@ -296,7 +297,8 @@  discard block
 block discarded – undo
296 297
         $sql = "INSERT INTO $tablename ($cols) VALUES ($set);";
297 298
         if($this->pdo->exec($sql) === false)
298 299
         {
299
-            if (php_sapi_name() !== "cli") {
300
+            if (php_sapi_name() !== "cli")
301
+            {
300 302
                 error_log('DB query failed. '.print_r($this->pdo->errorInfo(), true));
301 303
             }
302 304
             return false;
Please login to merge, or discard this patch.
Auth/class.SQLAuthenticator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     /**
141 141
      * Get the data table for Pending Users
142 142
      *
143
-     * @return boolean|\Data\DataTable The Pending User Data Table
143
+     * @return boolean The Pending User Data Table
144 144
      */
145 145
     private function getPendingUserDataTable()
146 146
     {
@@ -300,7 +300,7 @@  discard block
 block discarded – undo
300 300
     /**
301 301
      * Search all the pending users
302 302
      *
303
-     * @param boolean|\Data\Filter $filter The filter to use while searching the table
303
+     * @param \Data\Filter $filter The filter to use while searching the table
304 304
      * @param boolean|array $select The array of properties to read
305 305
      * @param boolean|integer $top The number of records to read
306 306
      * @param boolean|integer $skip The number of records to skip
Please login to merge, or discard this patch.
Data/class.FilterClause.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -176,7 +176,7 @@
 block discarded – undo
176 176
      * Convert the right hand side of the filter clause into an Mongo array
177 177
      *
178 178
      * @param string $op The standard operator
179
-     * @param string $var The second variable in the operator
179
+     * @param string $var2 The second variable in the operator
180 180
      *
181 181
      * @return array An array of mongo operations
182 182
      */
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -222,15 +222,15 @@
 block discarded – undo
222 222
 
223 223
     public function php_compare($value)
224 224
     {
225
-	if(is_array($value))
226
-	{
225
+    if(is_array($value))
226
+    {
227 227
             return $this->php_compare($value[$this->var1]);
228
-	}
228
+    }
229 229
         switch($this->op)
230 230
         {
231 231
             case '!=':
232 232
                 return $value != $this->var2;
233
-	    case '=':
233
+        case '=':
234 234
                 return $value == $this->var2;
235 235
             case '<':
236 236
                 return $value < $this->var2;
Please login to merge, or discard this patch.
Email/class.SMTPServer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,8 +59,8 @@
 block discarded – undo
59 59
             return array($address);
60 60
         }
61 61
         $ret = array();
62
-        $ret[0] = trim(substr($address, $pos+1), '>');
63
-        $ret[1] = substr($address, 0, $pos-1);
62
+        $ret[0] = trim(substr($address, $pos + 1), '>');
63
+        $ret[1] = substr($address, 0, $pos - 1);
64 64
         return $ret;
65 65
     }
66 66
 
Please login to merge, or discard this patch.
Auth/class.LDAPAuthenticator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -329,7 +329,7 @@
 block discarded – undo
329 329
     }
330 330
 
331 331
     /**
332
-     * @param boolean|\Data\Filter $filter The filter to user when reading users
332
+     * @param \Data\Filter $filter The filter to user when reading users
333 333
      * @param boolean|array   $select The fields to return
334 334
      * @param boolean|integer $top The number of records to return
335 335
      * @param boolean|integer $skip The number of records to skip
Please login to merge, or discard this patch.