@@ -288,7 +288,7 @@ |
||
| 288 | 288 | */ |
| 289 | 289 | protected $wWWHomePage; |
| 290 | 290 | |
| 291 | - public function rules (){ |
|
| 291 | + public function rules() { |
|
| 292 | 292 | return [['cn'], 'required']; |
| 293 | 293 | } |
| 294 | 294 | |
@@ -209,7 +209,7 @@ |
||
| 209 | 209 | |
| 210 | 210 | $resource = $this->_conn->resource; |
| 211 | 211 | |
| 212 | - Yii::beginProfile('current:' . $this->key(), 'chrmorandi\ldap\DataReader'); |
|
| 212 | + Yii::beginProfile('current:'.$this->key(), 'chrmorandi\ldap\DataReader'); |
|
| 213 | 213 | $name = ldap_first_attribute($resource, $this->_row); |
| 214 | 214 | |
| 215 | 215 | while ($name) { |