This commit is contained in:
David Remer 2020-07-02 12:48:40 +03:00
parent ded172c131
commit f09d71e888
13 changed files with 159 additions and 98 deletions

View file

@ -99,7 +99,7 @@ return [
return new OrderTablePaymentStatusColumn($settings);
},
'wcgateway.settings.fields' => function(ContainerInterface $container) : array {
'wcgateway.settings.fields' => static function (ContainerInterface $container): array {
$settings = $container->get('wcgateway.settings');
$sandboxText = $settings->has('sandbox_on') && $settings->get('sandbox_on') ?
__(
@ -353,5 +353,5 @@ return [
],
],
];
}
},
];