Skip to content

Commit 7e1cd02

Browse files
committed
refactor(core): remove unnecessary check
1 parent d5ae494 commit 7e1cd02

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Tempest/Framework/Commands/MetaViewComponentCommand.php

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

76-
if ($viewComponent === null) {
77-
return null;
78-
}
79-
8076
return $viewComponent;
8177
}
8278

0 commit comments

Comments
 (0)