$this->getRepository() of type Spryker\Zed\Kernel\Persistence\AbstractRepository is incompatible with the type Pyz\Zed\HelloSpryker\Per...ykerRepositoryInterface expected by parameter $helloSprykerRepository of Pyz\Zed\HelloSpryker\Bus...ngReader::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
28
return new StringReader(/** @scrutinizer ignore-type */ $this->getRepository());
$this->getEntityManager() of type Spryker\Zed\Kernel\Persi...e\AbstractEntityManager is incompatible with the type Pyz\Zed\HelloSpryker\Per...rEntityManagerInterface expected by parameter $helloSprykerEntityManager of Pyz\Zed\HelloSpryker\Bus...ngWriter::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
36
return new StringWriter(/** @scrutinizer ignore-type */ $this->getEntityManager());