@@ -91,11 +91,11 @@ discard block |
||
91 | 91 | { |
92 | 92 | $this->schema = new Schema(); |
93 | 93 | |
94 | - if(!is_null($this->schemaClass)){ |
|
95 | - if(class_exists($this->schemaClass)){ |
|
94 | + if (!is_null($this->schemaClass)) { |
|
95 | + if (class_exists($this->schemaClass)) { |
|
96 | 96 | Schema::set(new $this->schemaClass); |
97 | 97 | } else { |
98 | - throw new InvalidConfigException('"' . $this->schemaClass . '" does not exist.'); |
|
98 | + throw new InvalidConfigException('"'.$this->schemaClass.'" does not exist.'); |
|
99 | 99 | } |
100 | 100 | } |
101 | 101 | |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | $dn = $values[self::primaryKey()]; |
189 | 189 | unset($values[self::primaryKey()]); |
190 | 190 | |
191 | - if (($primaryKeys = static::getDb()->execute('ldap_add', [$dn,$values])) === false) { |
|
191 | + if (($primaryKeys = static::getDb()->execute('ldap_add', [$dn, $values])) === false) { |
|
192 | 192 | return false; |
193 | 193 | } |
194 | 194 | $this->setAttribute(self::primaryKey(), $dn); |