aboutsummaryrefslogtreecommitdiff
path: root/lib/flexi
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2026-01-13 08:39:22 +0100
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2026-01-13 08:39:22 +0100
commitcb4bdf265fe84443f6000e4af6e132f5aa566e3f (patch)
tree659d81c24abb6888ddb16220bf570993c6469a66 /lib/flexi
parent246fe2c51046331af9c7509c201c937b2e433108 (diff)
use rector to resolve implicitely nullable parameter declarations, fixes #5463
Closes #5463 Merge request studip/studip!4097
Diffstat (limited to 'lib/flexi')
-rw-r--r--lib/flexi/Template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/flexi/Template.php b/lib/flexi/Template.php
index 44eefbe..f0848f7 100644
--- a/lib/flexi/Template.php
+++ b/lib/flexi/Template.php
@@ -109,7 +109,7 @@ abstract class Template
* @return string A string representing the rendered presentation.
* @throws TemplateNotFoundException
*/
- public function render(array $attributes = [], string|Template $layout = null): string
+ public function render(array $attributes = [], string|Template|null $layout = null): string
{
if (isset($layout)) {
$this->set_layout($layout);