Skip to content

Commit

Permalink
Fix: Avoid implicit cast to string
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Dec 8, 2021
1 parent 4c27df6 commit 35ce456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/NormalizeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ protected function execute(
return 1;
}

\file_put_contents($composerFile, $formatted);
\file_put_contents($composerFile, $formatted->encoded());

$io->write(\sprintf(
'<info>Successfully normalized %s.</info>',
Expand Down

0 comments on commit 35ce456

Please sign in to comment.