Skip to content

Fix 2 PHPStan warnings. #34

Fix 2 PHPStan warnings.

Fix 2 PHPStan warnings. #34

Triggered via push December 21, 2023 14:18
Status Failure
Total duration 58s
Artifacts

ci.yaml

on: push
Matrix: phplint / phplint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan / phpstan: src/Extension.php#L65
Callback expects 1 parameter, $accepted_args is set to 3.
phpstan / phpstan: src/Extension.php#L81
Method Pronamic\WordPress\Pay\Extensions\NinjaForms\Extension::field_type_sections() has parameter $sections with no value type specified in iterable type array.
phpstan / phpstan: src/Extension.php#L81
Method Pronamic\WordPress\Pay\Extensions\NinjaForms\Extension::field_type_sections() return type has no value type specified in iterable type array.
phpstan / phpstan: src/Extension.php#L97
Method Pronamic\WordPress\Pay\Extensions\NinjaForms\Extension::register_fields() has parameter $fields with no value type specified in iterable type array.
phpstan / phpstan: src/Extension.php#L97
Method Pronamic\WordPress\Pay\Extensions\NinjaForms\Extension::register_fields() return type has no value type specified in iterable type array.
phpstan / phpstan: src/Extension.php#L111
Method Pronamic\WordPress\Pay\Extensions\NinjaForms\Extension::register_payment_gateways() has parameter $gateways with no value type specified in iterable type array.
phpstan / phpstan: src/Extension.php#L111
Method Pronamic\WordPress\Pay\Extensions\NinjaForms\Extension::register_payment_gateways() return type has no value type specified in iterable type array.
phpstan / phpstan: src/Extension.php#L124
Method Pronamic\WordPress\Pay\Extensions\NinjaForms\Extension::register_settings_groups() has parameter $groups with no value type specified in iterable type array.
phpstan / phpstan: src/Extension.php#L124
Method Pronamic\WordPress\Pay\Extensions\NinjaForms\Extension::register_settings_groups() return type has no value type specified in iterable type array.
phpstan / phpstan: src/Extension.php#L155
Method Pronamic\WordPress\Pay\Extensions\NinjaForms\Extension::fulfill_order() has no return type specified.