Skip to content

Commit

Permalink
Merge pull request #411 from CodeIgor/master
Browse files Browse the repository at this point in the history
Update Factory.php
  • Loading branch information
robmachado authored Mar 8, 2022
2 parents ecb4e02 + d797361 commit f864445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ protected function toNode()
{
$method_name = $this->method_name;
if (!method_exists($this, $method_name)) {
throw new Exception("Erro interno método {$method_name} não localizado.");
throw new \Exception("Erro interno método {$method_name} não localizado.");
}
return $this->$method_name();
}
Expand Down

0 comments on commit f864445

Please sign in to comment.