Skip to content

Commit e025127

Browse files
authored
Merge pull request #2855 from tarlepp/feat/readonly-class
Feat - Change `HealthzService` to `readonly`
2 parents eff10ff + f08a1ed commit e025127

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Utils/HealthzService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
* @package App\Utils
1717
* @author TLe, Tarmo Leppänen <tarmo.leppanen@pinja.com>
1818
*/
19-
class HealthzService
19+
readonly class HealthzService
2020
{
2121
public function __construct(
22-
private readonly HealthzRepository $repository,
22+
private HealthzRepository $repository,
2323
) {
2424
}
2525

0 commit comments

Comments
 (0)