]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix: Align doc type with creation 39595/head
authorJoas Schilling <coding@schilljs.com>
Wed, 26 Jul 2023 19:56:36 +0000 (21:56 +0200)
committerJoas Schilling <coding@schilljs.com>
Thu, 27 Jul 2023 21:13:38 +0000 (23:13 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
tests/lib/Security/CSP/ContentSecurityPolicyManagerTest.php
tests/lib/Security/FeaturePolicy/FeaturePolicyManagerTest.php

index 05d6ede640db74ba1820abd27c638f29909873cf..24acd3cabc9319612bb8a238e8ae98f813c1d21a 100644 (file)
@@ -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 */
index b8f558719dc625f373b5cae3781a0366d3920e33..7202e45de73abbf4a5f9f649564df13bc840eaa6 100644 (file)
@@ -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 */