codestyle

This commit is contained in:
David Remer 2020-04-28 12:31:12 +03:00
parent 6793d7217a
commit 9dc3c073d2
35 changed files with 205 additions and 144 deletions

View file

@ -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();
}
},
];