wip #23
Annotations
10 errors
phpstan:
src/DataObjects/Address.php#L48
Method CraigPotter\Fca\DataObjects\Address::fromArray() has parameter $data with no value type specified in iterable type array.
|
phpstan:
src/DataObjects/Address.php#L50
Unsafe usage of new static().
|
phpstan:
src/DataObjects/Firm.php#L26
Unsafe usage of new static().
|
phpstan:
src/DataObjects/Individual.php#L30
Method CraigPotter\Fca\DataObjects\Individual::fromArray() has parameter $data with no value type specified in iterable type array.
|
phpstan:
src/DataObjects/Individual.php#L30
PHPDoc tag @param references unknown parameter: $response
|
phpstan:
src/DataObjects/Individual.php#L32
Unsafe usage of new static().
|
phpstan:
src/Requests/Firm/GetFirmAddresses.php#L47
Method CraigPotter\Fca\Requests\Firm\GetFirmAddresses::createDtoFromResponse() return type has no value type specified in iterable type array.
|
phpstan:
src/Requests/Firm/GetFirmAddresses.php#L47
PHPDoc tag @return with type mixed is not subtype of native type array.
|
phpstan:
src/Requests/Firm/GetFirmDetails.php#L49
Parameter #1 $response of static method CraigPotter\Fca\DataObjects\Firm::fromResponse() expects Saloon\Http\Response, Saloon\Contracts\Response given.
|
phpstan:
src/Resources/FirmResource.php#L49
Method CraigPotter\Fca\Resources\FirmResource::get() should return Saloon\Http\Response but returns Saloon\Contracts\Response.
|