Completed
Push — master ( c35dba...764289 )
by Christopher
06:12 queued 04:17
created
Connection.php 2 patches
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      * Authenticate user
187 187
      * @param string $username
188 188
      * @param string $password
189
-     * @return int indicate occurrence of error. 
189
+     * @return boolean indicate occurrence of error. 
190 190
      */
191 191
     public function auth($username, $password)
192 192
     {
@@ -460,8 +460,6 @@  discard block
 block discarded – undo
460 460
     
461 461
     /**
462 462
      * Send LDAP pagination control.
463
-     * @param int    $pageSize
464
-     * @param bool   $isCritical
465 463
      * @param string $cookie
466 464
      * @return bool
467 465
      */
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     
137 137
     # Create AD password (Microsoft Active Directory password format)
138 138
     protected static function makeAdPassword($password) {
139
-        $password = "\"" . $password . "\"";
139
+        $password = "\"".$password."\"";
140 140
         $adpassword = mb_convert_encoding($password, "UTF-16LE", "UTF-8");
141 141
         return $adpassword;
142 142
     }
@@ -242,8 +242,8 @@  discard block
 block discarded – undo
242 242
             $results[] = $result;            
243 243
         } while ($cookie !== null && $cookie != '');        
244 244
 
245
-        if($this->offset > 0){
246
-            $results = $results[intval($this->offset/$this->pageSize -1)];
245
+        if ($this->offset > 0) {
246
+            $results = $results[intval($this->offset / $this->pageSize - 1)];
247 247
         }
248 248
         
249 249
         return new DataReader($this, $results);
Please login to merge, or discard this patch.