summaryrefslogtreecommitdiff
path: root/tests/app
diff options
context:
space:
mode:
Diffstat (limited to 'tests/app')
-rw-r--r--tests/app/Elements/AbstractElementTest.php3
-rw-r--r--tests/app/Module/FixDuplicateLinksTest.php15
2 files changed, 4 insertions, 14 deletions
diff --git a/tests/app/Elements/AbstractElementTest.php b/tests/app/Elements/AbstractElementTest.php
index c82b5e9b0c..75ab14a352 100644
--- a/tests/app/Elements/AbstractElementTest.php
+++ b/tests/app/Elements/AbstractElementTest.php
@@ -31,8 +31,7 @@ abstract class AbstractElementTest extends TestCase
private const EVIL_VALUE = '<script>evil()</script>';
private const TEST_VALUE = '01 JAN 1970';
- /** @var ElementInterface */
- protected static $element;
+ protected static ElementInterface $element;
/**
* @return void
diff --git a/tests/app/Module/FixDuplicateLinksTest.php b/tests/app/Module/FixDuplicateLinksTest.php
index b0252c37ba..e5ff250232 100644
--- a/tests/app/Module/FixDuplicateLinksTest.php
+++ b/tests/app/Module/FixDuplicateLinksTest.php
@@ -37,20 +37,11 @@ class FixDuplicateLinksTest extends TestCase
{
protected static bool $uses_database = true;
- /**
- * @var FixDuplicateLinks $fixDuplicateLinks
- */
- protected $fixDuplicateLinks;
+ protected FixDuplicateLinks $fixDuplicateLinks;
- /**
- * @var Tree $tree
- */
- protected $tree;
+ protected Tree $tree;
- /**
- * @var bool $restore_session_user
- */
- protected $restore_session_user = false;
+ protected bool $restore_session_user = false;
/**
* {@inheritdoc}