AbstractWidget: Method `render()` does not expect any param
This commit is contained in:
parent
e2e582b095
commit
29b2ed22b9
|
@ -112,7 +112,7 @@ abstract class AbstractWidget
|
|||
public function __toString()
|
||||
{
|
||||
try {
|
||||
$html = $this->render($this->view());
|
||||
$html = $this->render();
|
||||
} catch (Exception $e) {
|
||||
return htmlspecialchars($e->getMessage());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue