Open javaDeveloperKid opened 1 month ago
['unsigned' => true]
does not work for all drivers (e.g. in postgres)
['unsigned' => true]
does not work for all drivers (e.g. in postgres)
@janedbal how is it related to my issue?
If support would be added, it needs to be driver-aware.
Still don't understand. Is there any database that uses non-positive id?
I want to mark a Doctrine entity $id field that is autogenerated by database engine as
@var positive-int
. However PHPStan complains.PHPStan output:
Property App\Rma\Domain\Rma\Rma::$id type mapping mismatch: database can contain int but property expects int<1, max>|null.