Fix code style

This commit is contained in:
Jaapio
2020-01-27 21:01:09 +01:00
parent 31fd6db84f
commit 93919e334b
+1 -1
View File
@@ -227,7 +227,7 @@ final class StandardTagFactory implements TagFactory
try {
/** @var callable $callable */
$callable = [$handlerClassName, 'create'];
$tag = call_user_func_array($callable, $arguments);
$tag = call_user_func_array($callable, $arguments);
return $tag ?? InvalidTag::create($body, $name);
} catch (InvalidArgumentException $e) {
return InvalidTag::create($body, $name)->withError($e);