We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError App\Model\Database\Entity\User::getLastLoggedAt(): Return value must be of type ?App\Model\Utils\DateTime, DateTime returned
Exactly the same works at https://github.com/contributte/webapp-skeleton/blob/master/app/model/Database/Entity/User.php
I am missing what is different.
How to reproduce:
lastLoggedAt
Workaround is to set dates to build-in \DateTime type.
\DateTime
The text was updated successfully, but these errors were encountered:
One possible solution is to use \DateTimeInterface.
\DateTimeInterface
Sorry, something went wrong.
That's really weird.
Same issue here. Installed skeleton via Composer with local DB (manually run the Migration script).
No branches or pull requests
Exactly the same works at https://github.com/contributte/webapp-skeleton/blob/master/app/model/Database/Entity/User.php
I am missing what is different.
How to reproduce:
lastLoggedAt
to a random user.Workaround is to set dates to build-in
\DateTime
type.The text was updated successfully, but these errors were encountered: