Skip to content

Commit

Permalink
Fixed issue with line length
Browse files Browse the repository at this point in the history
  • Loading branch information
genius257 authored Jun 11, 2024
1 parent c1b75dc commit 099153f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public static function renderComponent(Component $component): string
}

if ($level <> ob_get_level()) {
throw new Exception("output buffer nesting level mismatch. Expected: " . $level . ", got: " . ob_get_level());
throw new Exception("output buffer nesting level mismatch. Expected: {$level}, got: " . ob_get_level());
}

ob_end_clean();
Expand Down

0 comments on commit 099153f

Please sign in to comment.