Upgrade PHPStan level to 5

[MAILPOET-1915]
This commit is contained in:
Pavel Dohnal
2019-03-20 16:16:59 +01:00
committed by M. Shull
parent 21766421d5
commit f3f769316a
9 changed files with 16 additions and 15 deletions

View File

@@ -8,16 +8,16 @@ use MailPoetVendor\Symfony\Component\DependencyInjection\Container;
class ContainerWrapper implements ContainerInterface {
/** @var ContainerInterface */
/** @var Container */
private $free_container;
/** @var ContainerInterface|null */
/** @var Container|null */
private $premium_container;
/** @var ContainerWrapper|null */
private static $instance;
public function __construct(ContainerInterface $free_container, ContainerInterface $premium_container = null) {
public function __construct(Container $free_container, Container $premium_container = null) {
$this->free_container = $free_container;
$this->premium_container = $premium_container;
}