Fix undefined property error

This commit is contained in:
Thibaud Fabre
2016-10-27 15:42:26 +02:00
parent 59befbfecc
commit 2ae21532bc
2 changed files with 1 additions and 5 deletions

View File

@@ -76,10 +76,6 @@ class ComplexMapping extends FieldMapping
$properties[$name] = $child->toArray();
}
if ($this->childKey) {
return [$this->childKey => $properties];
}
return $properties;
}
}