Skip to content

Commit

Permalink
Update CS.
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
  • Loading branch information
crynobone committed Nov 14, 2019
1 parent f32aac3 commit f3b6b21
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,7 @@ public function parse($name): Template\Parser
$parser = $this->parsers[$name] ?? $name;

if (! $parser instanceof Template\Parser) {
throw new InvalidArgumentException(
"Expected \$parser to be instanceof Orchestra\Facile\Template\Parser."
);
throw new InvalidArgumentException("Expected \$parser to be instanceof Orchestra\Facile\Template\Parser.");
}

return $parser;
Expand Down

0 comments on commit f3b6b21

Please sign in to comment.