diff --git a/src/Command/NormalizeCommand.php b/src/Command/NormalizeCommand.php index 1acd62eb..377b3bdd 100644 --- a/src/Command/NormalizeCommand.php +++ b/src/Command/NormalizeCommand.php @@ -222,7 +222,7 @@ protected function execute( return 1; } - $format = $json->format(); + $format = Normalizer\Format\Format::fromJson($json); if (null !== $indent) { $format = $format->withIndent($indent);