Skip to content

Commit

Permalink
Added missing type hints in ModuleTest
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiang committed May 16, 2022
1 parent 0d07d81 commit 8f3fc40
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/src/ModuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ final class ModuleTest extends TestCase
{
use ProphecyTrait;

/** @var Module */
private $object;
private Module $object;

/**
* Sets up the fixture, for example, opens a network connection.
Expand All @@ -37,7 +36,7 @@ protected function setUp(): void
/**
* @covers ::init
*/
public function testInit()
public function testInit(): void
{
$sharedEventManager = $this->prophesize(
SharedEventManagerInterface::class
Expand Down Expand Up @@ -65,7 +64,7 @@ public function testInit()
/**
* @covers ::getConfig
*/
public function testGetConfig()
public function testGetConfig(): void
{
$config = $this->object->getConfig();
$this->assertIsArray($config);
Expand Down

0 comments on commit 8f3fc40

Please sign in to comment.