Skip to content

Conversation

@kl3sk
Copy link
Contributor

@kl3sk kl3sk commented Jan 6, 2023

Only DateTime object is checked.
DateTimeImmutable isn't

It's better to check the interface instead of the class.

Only `DateTime` object is checked.
`DateTimeImmutable` isn't

It's better to check the interface instead of the class.
@kl3sk
Copy link
Contributor Author

kl3sk commented Jan 7, 2023

More information.

Without this modification, I can't import my immutable datetime property.

The console says: "it should be an int64".

In fact it fallback as a string.

@npotier npotier marked this pull request as ready for review January 9, 2023 04:34
@npotier npotier merged commit fd7e53c into acseo:feature/monolog-v3 Jan 9, 2023
@kl3sk kl3sk deleted the feature/monolog-v3 branch January 10, 2023 15:26
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.

2 participants