From 577ce7dd11c70dedb6658108d4e7f09e6bebf6ff Mon Sep 17 00:00:00 2001 From: Mikel Martin Date: Wed, 9 Oct 2024 11:24:24 +0200 Subject: [PATCH] Fix phpcbf --- src/Infrastructure/ServiceRegister.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/Infrastructure/ServiceRegister.php b/src/Infrastructure/ServiceRegister.php index 3da58a3..bbff2c8 100644 --- a/src/Infrastructure/ServiceRegister.php +++ b/src/Infrastructure/ServiceRegister.php @@ -63,14 +63,13 @@ public static function getInstance(): ServiceRegister * * @param class-string $type * - * @return T - * * @template T - * / - public static function getService(string $type) - { + * + * @return T + */ + public static function getService(string $type) { return self::getInstance()->get($type); - } + } /** * Registers service with delegate as second parameter which represents function for creating new service instance.