Skip to content

Commit

Permalink
fix: get validator by method instead protected attr
Browse files Browse the repository at this point in the history
  • Loading branch information
chipslays committed Feb 7, 2023
1 parent a108253 commit 18cb4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Events/AbstractEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function target(): ?Connection
*/
public function validator(): Validator
{
return Server::getInstance()->validator::create();
return Server::getInstance()->validator();
}

/**
Expand Down

0 comments on commit 18cb4f7

Please sign in to comment.