__toString() should call __toString() as well if possible
There may be cases that an error occurs and another _toString() implementation handles that appropriately. This is such a case.
This commit is contained in:
parent
3107eb87bb
commit
73b41769e7
|
@ -474,6 +474,6 @@ class Wizard
|
|||
*/
|
||||
public function __toString()
|
||||
{
|
||||
return $this->getForm()->render();
|
||||
return (string) $this->getForm();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue