mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
fix bad variable name
This commit is contained in:
parent
f9d4fb90cd
commit
734dd0da7e
@ -65,7 +65,7 @@ class FormTypeParser implements ParserInterface
|
|||||||
public function parse($type)
|
public function parse($type)
|
||||||
{
|
{
|
||||||
if (is_string($type) && class_exists($type)) {
|
if (is_string($type) && class_exists($type)) {
|
||||||
$item = unserialize(sprintf('O:%d:"%s":0:{}', strlen($item), $item));
|
$type = unserialize(sprintf('O:%d:"%s":0:{}', strlen($type), $type));
|
||||||
}
|
}
|
||||||
|
|
||||||
$form = $this->formFactory->create($type);
|
$form = $this->formFactory->create($type);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user