Skip to content

Commit

Permalink
Add readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
danilovl committed May 28, 2022
1 parent 04b3362 commit 50a6cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/ObjectToArrayTransformService.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class ObjectToArrayTransformService implements ObjectToArrayTransformServiceInte
{
private const DEFAULT_DATE_FORMAT = 'Y-m-d H:i:s';

public function __construct(private ParameterServiceInterface $parameterService)
public function __construct(private readonly ParameterServiceInterface $parameterService)
{
}

Expand Down

0 comments on commit 50a6cb0

Please sign in to comment.