Skip to content

Commit

Permalink
Merge pull request #601 from ergebnis/fix/immutable
Browse files Browse the repository at this point in the history
Fix: Declare object as immutable
  • Loading branch information
localheinz authored Dec 29, 2021
2 parents 5ff0df4 + 6878f15 commit 20d8487
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Format/JsonEncodeOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
use Ergebnis\Json\Normalizer\Exception;
use Ergebnis\Json\Normalizer\Json;

/**
* @psalm-immutable
*/
final class JsonEncodeOptions
{
private int $value;
Expand Down

0 comments on commit 20d8487

Please sign in to comment.