phpstan fix

This commit is contained in:
Dennis Eichhorn 2022-09-30 17:04:27 +02:00
parent 751ce51220
commit f1114b2f0a

View File

@ -300,9 +300,8 @@ abstract class ViewAbstract implements RenderableInterface
$ob = (string) \json_encode($includeData);
}
} catch (\Throwable $e) {
$ob = '';
if ($this->isBuffered) {
$ob = \ob_get_clean();
$ob .= (string) \ob_get_clean();
}
}