Skip to content

Commit

Permalink
Fix afterEvent instanceof AfterHeadEvent
Browse files Browse the repository at this point in the history
  • Loading branch information
ilhooq committed Nov 9, 2022
1 parent 8d0f5c5 commit 8358ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View.php
Expand Up @@ -204,7 +204,7 @@ protected function head(): string
$beforeEvent = $this->trigger(new BeforeHeadEvent());
assert($beforeEvent instanceof BeforeHeadEvent);
$afterEvent = $this->trigger(new AfterHeadEvent());
assert($afterEvent instanceof BeforeHeadEvent);
assert($afterEvent instanceof AfterHeadEvent);

return $beforeEvent->output . implode("\n", $this->head) . $afterEvent->output;
}
Expand Down

0 comments on commit 8358ed7

Please sign in to comment.