Skip to content

Commit e90bce8

Browse files
committed
fixed cs
1 parent 9588282 commit e90bce8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/components/ValuePreparer.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,9 @@ public function prepare($data)
6060
$value = $data->{$this->name};
6161
}
6262
}
63-
} else if ($data instanceof Model) {
63+
} elseif ($data instanceof Model) {
6464
$value = $data->{$this->name};
65-
} else
66-
if (is_array($data)) {
65+
} elseif (is_array($data)) {
6766
$value = ArrayHelper::getValue($data, $this->name, null);
6867
} else if(is_string($data) || is_numeric($data)) {
6968
$value = $data;

0 commit comments

Comments
 (0)