Skip to content

Commit 0fc6dda

Browse files
committed
Fix: Create Format from Json
1 parent 269f809 commit 0fc6dda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/NormalizeCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ protected function execute(
222222
return 1;
223223
}
224224

225-
$format = $json->format();
225+
$format = Normalizer\Format\Format::fromJson($json);
226226

227227
if (null !== $indent) {
228228
$format = $format->withIndent($indent);

0 commit comments

Comments
 (0)