Skip to content

Commit 6a96e50

Browse files
committed
wip
1 parent 6a904e8 commit 6a96e50

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Tempest/Framework/Commands/MetaViewComponentCommand.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ private function resolveViewComponent(string $viewComponent): ?ViewComponent
7373
$viewComponent = $this->viewConfig->viewComponents[$viewComponent] ?? null;
7474
}
7575

76+
if ($viewComponent === null) {
77+
return null;
78+
}
79+
7680
return $viewComponent;
7781
}
7882

0 commit comments

Comments
 (0)