mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 08:17:22 +01:00
fix tests
This commit is contained in:
@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user