AbstractWidget: Method `render()` does not expect any param

This commit is contained in:
Sukhwinder Dhillon 2023-08-16 10:05:16 +02:00 committed by raviks789
parent e2e582b095
commit 29b2ed22b9
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ abstract class AbstractWidget
public function __toString() public function __toString()
{ {
try { try {
$html = $this->render($this->view()); $html = $this->render();
} catch (Exception $e) { } catch (Exception $e) {
return htmlspecialchars($e->getMessage()); return htmlspecialchars($e->getMessage());
} }