diff options
author | Syntaxseed <825423+syntaxseed@users.noreply.github.com> | 2020-10-01 12:35:44 -0400 |
---|---|---|
committer | Syntaxseed <825423+syntaxseed@users.noreply.github.com> | 2020-10-01 12:35:44 -0400 |
commit | 3416cc5257e5e7a8d52818ded27a8b411c1217da (patch) | |
tree | d0bee6caec1c1acad74215f7a264c1a0f57c479f /_test/tests/inc/pageutils_findnearest.test.php | |
parent | 3ccbb3eeb464dbc2d09e082b433ecc0d6282e34b (diff) | |
download | dokuwiki-3416cc5257e5e7a8d52818ded27a8b411c1217da.tar.gz dokuwiki-3416cc5257e5e7a8d52818ded27a8b411c1217da.zip |
Fix PHPUnit fatal errors compatibility with void.
Diffstat (limited to '_test/tests/inc/pageutils_findnearest.test.php')
-rw-r--r-- | _test/tests/inc/pageutils_findnearest.test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_test/tests/inc/pageutils_findnearest.test.php b/_test/tests/inc/pageutils_findnearest.test.php index 55db44afa..4f97f5be9 100644 --- a/_test/tests/inc/pageutils_findnearest.test.php +++ b/_test/tests/inc/pageutils_findnearest.test.php @@ -6,7 +6,7 @@ class pageutils_findnearest_test extends DokuWikiTest { protected $oldAuthAcl; - function setUp() { + function setUp() : void { parent::setUp(); global $AUTH_ACL; global $auth; @@ -25,7 +25,7 @@ class pageutils_findnearest_test extends DokuWikiTest { ); } - function tearDown() { + function tearDown() : void { global $AUTH_ACL; $AUTH_ACL = $this->oldAuthAcl; } |