Completed
Push — master ( defc9d...f38146 )
by Christopher
02:50
created
ActiveRecord.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -91,11 +91,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.