Remove unneeded nullability

This commit is contained in:
Alex P 2021-10-13 16:28:40 +03:00
parent ffa213dde0
commit 6f45ed3472

View file

@ -148,9 +148,9 @@ class WCGatewayModule implements ModuleInterface {
/**
* Registers the payment gateways.
*
* @param ContainerInterface|null $container The container.
* @param ContainerInterface $container The container.
*/
private function register_payment_gateways( ContainerInterface $container = null ) {
private function register_payment_gateways( ContainerInterface $container ) {
add_filter(
'woocommerce_payment_gateways',