Added property types to some classes

This commit is contained in:
Alejandro Celaya
2019-12-29 22:27:00 +01:00
parent 050050a9eb
commit b904c6d00d
86 changed files with 218 additions and 457 deletions

View File

@@ -15,8 +15,7 @@ use Zend\ServiceManager\ServiceManager;
class ApplicationFactoryTest extends TestCase
{
/** @var ApplicationFactory */
private $factory;
private ApplicationFactory $factory;
public function setUp(): void
{
@@ -36,7 +35,6 @@ class ApplicationFactoryTest extends TestCase
$sm->setService('foo', $this->createCommandMock('foo')->reveal());
$sm->setService('bar', $this->createCommandMock('bar')->reveal());
/** @var Application $instance */
$instance = ($this->factory)($sm);
$this->assertTrue($instance->has('foo'));