@@ -134,6 +134,10 @@ |
||
| 134 | 134 | protected $userDN; |
| 135 | 135 | |
| 136 | 136 | # Create AD password (Microsoft Active Directory password format) |
| 137 | + |
|
| 138 | + /** |
|
| 139 | + * @param string $password |
|
| 140 | + */ |
|
| 137 | 141 | protected static function encodePassword($password) |
| 138 | 142 | { |
| 139 | 143 | $password = "\"" . $password . "\""; |
@@ -240,7 +240,7 @@ |
||
| 240 | 240 | * Customer::updateAll(['status' => 1], 'status = 2'); |
| 241 | 241 | * ``` |
| 242 | 242 | * |
| 243 | - * @param array $attributes attribute values (name-value pairs) to be saved into the table |
|
| 243 | + * @param string[] $attributes attribute values (name-value pairs) to be saved into the table |
|
| 244 | 244 | * @param string|array $condition the conditions that will be put in the WHERE part of the UPDATE SQL. |
| 245 | 245 | * Please refer to [[Query::where()]] on how to specify this parameter. |
| 246 | 246 | * @return integer the number of rows updated |