Skip to content

Commit

Permalink
Fixed bad comparison in match statement
Browse files Browse the repository at this point in the history
  • Loading branch information
juniwalk authored Jun 5, 2024
1 parent 763843b commit 5740ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TessaRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function renderType(Type|string $type, ?string $bundle = null): void
}

match (true) {
$bundle => $this->print(
isset($bundle) => $this->print(
$this->compile($bundle, $type)
),
default => $this->render($type),
Expand Down

0 comments on commit 5740ab1

Please sign in to comment.