0.3.1
Non-breaking change
The $object
parameter of the Brick\Di\Injector::inject()
method is now strongly typed to object
:
public function inject(object $object) : void
Note that this change is non-breaking because PHP allows a subclass to override the method with no type hint.