Skip to content

Commit

Permalink
Fix phpcbf
Browse files Browse the repository at this point in the history
  • Loading branch information
m1k3lm committed Oct 9, 2024
1 parent 3ef656a commit 577ce7d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/Infrastructure/ServiceRegister.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,13 @@ public static function getInstance(): ServiceRegister
*
* @param class-string<T> $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.
Expand Down

0 comments on commit 577ce7d

Please sign in to comment.