fix: Entity::normalizeValue() must handle UnitEnum before toArray()
#14447
test-phpstan.yml
on: pull_request
PHP Static Analysis
1m 1s
Annotations
7 errors
|
PHP Static Analysis
Process completed with exit code 1.
|
|
PHP Static Analysis:
tests/system/Entity/EntityTest.php#L2395
Cannot call method modify() on array<int|string, mixed>|bool|float|int|object|string.
|
|
PHP Static Analysis:
tests/system/Entity/EntityTest.php#L2388
Method DateTime@anonymous/tests/system/Entity/EntityTest.php:2387::toArray() return type has no value type specified in iterable type array.
|
|
PHP Static Analysis:
tests/system/Entity/EntityTest.php#L2374
Cannot call method exchangeArray() on array<int|string, mixed>|bool|float|int|object|string.
|
|
PHP Static Analysis:
tests/system/Entity/EntityTest.php#L2367
Method ArrayObject@anonymous/tests/system/Entity/EntityTest.php:2366::toArray() return type has no value type specified in iterable type array.
|
|
PHP Static Analysis:
tests/system/Entity/EntityTest.php#L2050
Cannot call method setValue() on array<int|string, mixed>|bool|float|int|object|string.
|
|
PHP Static Analysis:
tests/system/Entity/EntityTest.php#L2043
Method JsonSerializable@anonymous/tests/system/Entity/EntityTest.php:2028::toArray() return type has no value type specified in iterable type array.
|