Skip to content

Commit

Permalink
phpunit MockeryTestCase extended classes setUp return fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leemyongpakvn committed Nov 8, 2023
1 parent 0254861 commit 367030a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/php/FacetedSearch/HookDispatcherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class HookDispatcherTest extends MockeryTestCase
private $module;
private $dispatcher;

protected function setUp()
protected function setUp(): void
{
$this->module = Mockery::mock(Ps_Facetedsearch::class);
$contextMock = Mockery::mock(Context::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/php/FacetedSearch/URLSerializerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class URLSerializerTest extends MockeryTestCase
{
private $serializer;

protected function setUp()
protected function setUp(): void
{
$this->serializer = new URLSerializer();
}
Expand Down

0 comments on commit 367030a

Please sign in to comment.