Improve annotation in EmailEditor\Container
[MAILPOET-6216]
This commit is contained in:
@@ -10,6 +10,11 @@ class Container {
|
||||
$this->services[$name] = $callable;
|
||||
}
|
||||
|
||||
/**
|
||||
* @template T
|
||||
* @param class-string<T> $name
|
||||
* @return T
|
||||
*/
|
||||
public function get(string $name) {
|
||||
// Check if the service is already instantiated
|
||||
if (isset($this->instances[$name])) {
|
||||
|
Reference in New Issue
Block a user