You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
16 PHPDoc tag @var for constant
App\Models\Produto\TestModel::CREATED_AT with type
string|null is not subtype of native type string.
17 PHPDoc tag @var for constant
App\Models\Produto\TestModel::UPDATED_AT with type
string|null is not subtype of native type string.
Bug report
larastan/larastan#1928 (comment)
Description
Errors detected in CI
Laravel code where the issue was found
Code snippet that reproduces the problem
https://phpstan.org/r/20335f79-4d10-4cd7-b8a3-8d12b5c1a072
No response
Expected output
I think the expected behavior is that a const string should be valid for "string|null" right?
Did PHPStan help you today? Did it make you happy in any way?
No response
The text was updated successfully, but these errors were encountered: