The expression return $this->testLogger could return the type null which is incompatible with the type-hinted return Psr\Log\Test\TestLogger. Consider adding an additional type-check to rule them out.
Loading history...
26
}
27
28
public function createConfiguredCommandBus(): Interfaces\CommandBus