added break

This commit is contained in:
kopaygorodsky 2017-11-11 13:43:42 +02:00
parent 27402d7bb6
commit 8521fdc7ea

View File

@ -105,6 +105,7 @@ final class FormModelDescriber implements ModelDescriberInterface, ModelRegistry
$model = new Model(new Type(Type::BUILTIN_TYPE_OBJECT, false, $subType), null);
$property->getItems()->setRef($this->modelRegistry->register($model));
$property->setExample(sprintf('[{%s}]', $subType));
break;
}
if ('entity' === $blockPrefix) {