summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-07-26 21:56:36 +0200
committerJoas Schilling <coding@schilljs.com>2023-07-27 23:13:38 +0200
commit030e8d891673d2a87878d5774df97a7d231a9738 (patch)
tree87cdb97986842b4a6aa961a5be14ac9575ae9454 /tests
parent80f79e170dfb0086f0edae0695ddce04ea199af8 (diff)
downloadnextcloud-server-030e8d891673d2a87878d5774df97a7d231a9738.tar.gz
nextcloud-server-030e8d891673d2a87878d5774df97a7d231a9738.zip
fix: Align doc type with creation
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Security/CSP/ContentSecurityPolicyManagerTest.php3
-rw-r--r--tests/lib/Security/FeaturePolicy/FeaturePolicyManagerTest.php3
2 files changed, 2 insertions, 4 deletions
diff --git a/tests/lib/Security/CSP/ContentSecurityPolicyManagerTest.php b/tests/lib/Security/CSP/ContentSecurityPolicyManagerTest.php
index 05d6ede640d..24acd3cabc9 100644
--- a/tests/lib/Security/CSP/ContentSecurityPolicyManagerTest.php
+++ b/tests/lib/Security/CSP/ContentSecurityPolicyManagerTest.php
@@ -27,11 +27,10 @@ namespace Test\Security\CSP;
use OC\Security\CSP\ContentSecurityPolicyManager;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\Security\CSP\AddContentSecurityPolicyEvent;
-use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Test\TestCase;
class ContentSecurityPolicyManagerTest extends TestCase {
- /** @var EventDispatcherInterface */
+ /** @var IEventDispatcher */
private $dispatcher;
/** @var ContentSecurityPolicyManager */
diff --git a/tests/lib/Security/FeaturePolicy/FeaturePolicyManagerTest.php b/tests/lib/Security/FeaturePolicy/FeaturePolicyManagerTest.php
index b8f558719dc..7202e45de73 100644
--- a/tests/lib/Security/FeaturePolicy/FeaturePolicyManagerTest.php
+++ b/tests/lib/Security/FeaturePolicy/FeaturePolicyManagerTest.php
@@ -29,11 +29,10 @@ use OC\Security\FeaturePolicy\FeaturePolicyManager;
use OCP\AppFramework\Http\FeaturePolicy;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\Security\FeaturePolicy\AddFeaturePolicyEvent;
-use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Test\TestCase;
class FeaturePolicyManagerTest extends TestCase {
- /** @var EventDispatcherInterface */
+ /** @var IEventDispatcher */
private $dispatcher;
/** @var FeaturePolicyManager */