mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-11 01:33:11 +08:00
Added property types to some classes
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user