Completed
Push — master ( 0092c4...c30585 )
by Christopher
01:44
created
src/Connection.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -429,7 +429,7 @@
 block discarded – undo
429 429
      *      LDAP_MODIFY_BATCH_REMOVE_ALL - All values are removed from the attribute named by attrib.
430 430
      *      LDAP_MODIFY_BATCH_REPLACE - All current values are replaced by new one.
431 431
      * @param string $dn
432
-     * @param array  $values array associative with three keys: "attrib", "modtype" and "values".
432
+     * @param string[]  $values array associative with three keys: "attrib", "modtype" and "values".
433 433
      * ```php
434 434
      * [
435 435
      *     "attrib"  => "attribute",
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
      */
141 141
     protected static function encodePassword($password)
142 142
     {
143
-        $password   = "\"" . $password . "\"";
143
+        $password   = "\"".$password."\"";
144 144
         $adpassword = mb_convert_encoding($password, "UTF-16LE", "UTF-8");
145 145
         return $adpassword;
146 146
     }
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      */
186 186
     public function open($anonymous = false)
187 187
     {
188
-        $token = 'Opening LDAP connection: ' . LdapHelper::recursive_implode($this->dc, ' or ');
188
+        $token = 'Opening LDAP connection: '.LdapHelper::recursive_implode($this->dc, ' or ');
189 189
         Yii::info($token, __METHOD__);
190 190
         Yii::beginProfile($token, __METHOD__);
191 191
         // Connect to the LDAP server.
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
     protected function connect($hostname = [], $port = '389')
213 213
     {
214 214
         if (is_array($hostname)) {
215
-            $hostname = self::PROTOCOL . implode(' ' . self::PROTOCOL, $hostname);
215
+            $hostname = self::PROTOCOL.implode(' '.self::PROTOCOL, $hostname);
216 216
         }
217 217
 
218 218
         $this->close();
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
         $this->open();
332 332
         $results = [];
333 333
         $cookie  = '';
334
-        $token   = $function . ' - params: ' . LdapHelper::recursive_implode($params, ';');
334
+        $token   = $function.' - params: '.LdapHelper::recursive_implode($params, ';');
335 335
 
336 336
         Yii::info($token, 'chrmorandi\ldap\Connection::query');
337 337
 
Please login to merge, or discard this patch.