@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | $id = get_class($object); |
| 28 | 28 | |
| 29 | 29 | if ($this->has($id)) |
| 30 | - throw new ContainerException('A class with ID ' . $id . ' already exists in this container.'); |
|
| 30 | + throw new ContainerException('A class with ID ' . $id . ' already exists in this container.'); |
|
| 31 | 31 | |
| 32 | 32 | $this->storedComponents[$id] = $object; |
| 33 | 33 | } |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | 50 | * @inheritdoc |
| 51 | - * @throws ContainerException |
|
| 51 | + * @throws ContainerException |
|
| 52 | 52 | */ |
| 53 | 53 | public function has($id) |
| 54 | 54 | { |