Skip to content

Commit

Permalink
method return array
Browse files Browse the repository at this point in the history
  • Loading branch information
Hector68 committed May 12, 2016
1 parent fb0890f commit 791384c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/propertyStorage/EAV.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private function saveModelPropertyRow(ActiveRecord $model, Property $propertyMod
$key = $propertyModel->key;
$values = (array) $model->$key;
if (count($values) === 0) {
return true;
return [];
}

$valueField = static::dataTypeToEavColumn($propertyModel->data_type);
Expand Down

0 comments on commit 791384c

Please sign in to comment.