Completed
Push — master ( 0b9509...c5527c )
by Christopher
04:39
created
Connection.php 1 patch
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -133,6 +133,10 @@  discard block
 block discarded – undo
133 133
     protected $userDN;
134 134
     
135 135
     # Create AD password (Microsoft Active Directory password format)
136
+
137
+    /**
138
+     * @param string $password
139
+     */
136 140
     protected static function encodePassword($password) {
137 141
         $password = "\"" . $password . "\"";
138 142
         $adpassword = mb_convert_encoding($password, "UTF-16LE", "UTF-8");
@@ -230,7 +234,7 @@  discard block
 block discarded – undo
230 234
      * Authenticate user
231 235
      * @param string $username
232 236
      * @param string $password
233
-     * @return int indicate occurrence of error. 
237
+     * @return boolean indicate occurrence of error. 
234 238
      */
235 239
     public function auth($username, $password)
236 240
     {
@@ -563,8 +567,6 @@  discard block
 block discarded – undo
563 567
     
564 568
     /**
565 569
      * Send LDAP pagination control.
566
-     * @param int    $pageSize
567
-     * @param bool   $isCritical
568 570
      * @param string $cookie
569 571
      * @return bool
570 572
      */
Please login to merge, or discard this patch.