Skip to content

Type-safety for action classes and use DateTimeInterface - #582

Open
Gared wants to merge 1 commit into
nemiah:masterfrom
Gared:add_type_safety
Open

Type-safety for action classes and use DateTimeInterface#582
Gared wants to merge 1 commit into
nemiah:masterfrom
Gared:add_type_safety

Conversation

@Gared

@Gared Gared commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

This is just a small first change to add type-safety to this project. This means property are now type-strict and php will for example complain about float operations on strings and not auto-cast.
Additionally I switched DateTime to DateTimeInterface to allow also DateTimeImmutable as input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant