mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix: Align doc type with creation
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
80f79e170d
commit
030e8d8916
2 changed files with 2 additions and 4 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue