Skip to content
This repository was archived by the owner on Aug 24, 2022. It is now read-only.

Conversation

djcrock
Copy link

@djcrock djcrock commented May 11, 2021

When using PHPStan to analyze a project using Safe\DateTimeImmutable::createFromFormat(),
the return type from the built-in DateTimeImmutable class is assumed.

This change adds a return type PHPDoc comment to help PHPStan understand.

When using PHPStan to analyze a project using `Safe\DateTimeImmutable::createFromFormat()`,
the return type from the built-in `DateTimeImmutable` class is assumed.

This change adds a return type PHPDoc comment to help PHPStan understand.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant