Releases: ekvedaras/class-factory-phpstorm
Releases · ekvedaras/class-factory-phpstorm
v2.0.4
v2.0.3
Fixed
- Handle array types more loosely so
string[]
vsarray
would be acceptable - Handle boolean types
v2.0.2
Fixed
- Incorrect reports of unknown columns when using nested states
- Class property inspection when using nested states
- Class property completion when using nested states
v2.0.1
v2.0.0
Added
- Detect when property type inside factory does not match class (or factory definition) property type
- Support for
ClosureValue
Changed
- Refactored internals (not fully done yet)
v1.3.0
Added
- Support classes with not constructor (Spatie's DTOs for example)
v1.2.1
Updated
- Remove upper build limit to allow EAP usage.
v1.2.0
Added
- Detect missing class constructor property definitions.
v1.1.4
Fixed
- Complete properties in returned array keys of directly passed closure.
- Detect unknown properties in return array keys when closure is passed directly to class factory method instead of
as an array hash value. - Resolve references in returned array keys of directly passed closure.