fix tests

This commit is contained in:
Fabio Ivona
2021-11-18 01:04:59 +01:00
parent 7bcd3ebaee
commit 8cdca8d012
2 changed files with 7 additions and 6 deletions

View File

@ -45,10 +45,6 @@ final class Container
$this->instances[$id] = $this->build($id);
}
if (!is_object($this->instances[$id])) {
throw ShouldNotHappen::fromMessage('Cannot resolve a non-object from container');
}
return $this->instances[$id];
}