-
-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
Description
Describe the bug
Properties using generic array syntax and defining key type are ignored.
To Reproduce
- Create an entity (of type
Nextras\Orm\Entity\Entity) - Add property
@property array<string, string> $example - Assign value to
$exampleproperty,EntityMetadatashould throw exception
Expected behavior
@property array<string, string> $example is a valid property, same as (currently valid) @property array<string> $example or at least throw an exception describing syntax is not supported.
Versions::
- Orm: 4.0.2
- Dbal: 4.0.2
- Database: Postgres 13