Fix running PHPStan. #33
ci.yaml
on: push
phpcs
/
phpcs
19s
phpstan
/
phpstan
17s
Matrix: phplint / phplint
Annotations
10 errors
phpstan / phpstan:
src/Client.php#L82
Method Pronamic\WordPress\Pay\Gateways\PayNL\Client::send_request() has parameter $parameters with no value type specified in iterable type array.
|
phpstan / phpstan:
src/Client.php#L82
Method Pronamic\WordPress\Pay\Gateways\PayNL\Client::send_request() never returns null so it can be removed from the return type.
|
phpstan / phpstan:
src/Client.php#L82
Method Pronamic\WordPress\Pay\Gateways\PayNL\Client::send_request() return type has no value type specified in iterable type array.
|
phpstan / phpstan:
src/Client.php#L134
Method Pronamic\WordPress\Pay\Gateways\PayNL\Client::send_request() should return array|stdClass|null but returns object.
|
phpstan / phpstan:
src/Client.php#L149
Method Pronamic\WordPress\Pay\Gateways\PayNL\Client::transaction_start() has parameter $request_param with no value type specified in iterable type array.
|
phpstan / phpstan:
src/Client.php#L181
Method Pronamic\WordPress\Pay\Gateways\PayNL\Client::transaction_info() return type has no value type specified in iterable type array.
|
phpstan / phpstan:
src/Config.php#L19
Property Pronamic\WordPress\Pay\Gateways\PayNL\Config::$token has no type specified.
|
phpstan / phpstan:
src/Config.php#L21
Property Pronamic\WordPress\Pay\Gateways\PayNL\Config::$service_id has no type specified.
|
phpstan / phpstan:
src/Gateway.php#L61
Parameter #1 $string of function md5 expects string, string|false given.
|
phpstan / phpstan:
src/Gateway.php#L329
Parameter #2 $ip_address of method Pronamic\WordPress\Pay\Gateways\PayNL\Client::transaction_start() expects string, mixed given.
|