Skip to content

Commit dd9abb3

Browse files
ondrejmirtesdg
authored andcommitted
Prevent TypeError
1 parent 3e1c798 commit dd9abb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Application/UI/Presenter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public function run(Application\Request $request): Application\IResponse
214214

215215
// autoload components
216216
foreach ($this->globalParams as $id => $foo) {
217-
$this->getComponent($id, false);
217+
$this->getComponent((string) $id, false);
218218
}
219219

220220
if ($this->autoCanonicalize) {

0 commit comments

Comments
 (0)