mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
codestyle
This commit is contained in:
parent
6793d7217a
commit
9dc3c073d2
35 changed files with 205 additions and 144 deletions
|
@ -19,13 +19,13 @@ use Inpsyde\PayPalCommerce\Button\Endpoint\RequestData;
|
|||
use Inpsyde\PayPalCommerce\Button\Exception\RuntimeException;
|
||||
|
||||
return [
|
||||
'admin-notices.renderer' => function(ContainerInterface $container) : RendererInterface {
|
||||
'admin-notices.renderer' => static function (ContainerInterface $container): RendererInterface {
|
||||
|
||||
$repository = $container->get('admin-notices.repository');
|
||||
return new Renderer($repository);
|
||||
},
|
||||
'admin-notices.repository' => function(ContainerInterface $container) : RepositoryInterface {
|
||||
'admin-notices.repository' => static function (ContainerInterface $container): RepositoryInterface {
|
||||
|
||||
return new Repository();
|
||||
}
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue