V3 #2225
Annotations
7 errors and 1 warning
PHPStan:
src/Http/Requests/ResourceHydratableRequest.php#L22
PHPDoc tag @var for property Mollie\Api\Http\Requests\ResourceHydratableRequest::$customHydratableResource with type Mollie\Api\Resources\DecorateResource|string|null is not subtype of native type string|null.
|
PHPStan:
src/Http/Requests/ResourceHydratableRequest.php#L50
Instanceof between class-string and Mollie\Api\Resources\DecorateResource will always evaluate to false.
|
PHPStan:
src/Http/Requests/ResourceHydratableRequest.php#L50
Result of && is always false.
|
PHPStan:
src/Resources/ResourceHydrator.php#L28
Method Mollie\Api\Resources\ResourceHydrator::hydrate() should return Mollie\Api\Http\Response|Mollie\Api\Resources\BaseCollection|Mollie\Api\Resources\BaseResource|Mollie\Api\Resources\LazyCollection but returns Mollie\Api\Contracts\ResourceDecorator.
|
PHPStan:
tests/Resources/ResourceFactoryTest.php#L247
Access to an undefined property Mollie\Api\Resources\AnyResource::$id.
|
PHPStan:
tests/Resources/ResourceFactoryTest.php#L248
Access to an undefined property Mollie\Api\Resources\AnyResource::$customField.
|
PHPStan
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading