Skip to content

Commit 923f038

Browse files
committed
wip
1 parent ecf27d1 commit 923f038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/view/src/ViewComponentDiscovery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function discoverPath(DiscoveryLocation $location, string $path): void
5757
['/^(.|\n)*?<x-component name="[\w\-]+">/', '/<\/x-component>$/'],
5858
'',
5959
$contents->toString(),
60-
));
60+
) ?? '');
6161

6262
if ($fileName->startsWith('x-') && $name === null) {
6363
$this->discoveryItems->add($location, [

0 commit comments

Comments
 (0)