summaryrefslogtreecommitdiffstats
path: root/lib/public/Security
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-09-10 11:37:53 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-09-12 14:44:55 +0200
commita1ef939c061686bab80d4ad3b457533803452343 (patch)
tree0705f106dcd182016204edac647821ac01eed77f /lib/public/Security
parentac48a9ba61ec9cb7632bf67328b654f2a628a981 (diff)
downloadnextcloud-server-a1ef939c061686bab80d4ad3b457533803452343.tar.gz
nextcloud-server-a1ef939c061686bab80d4ad3b457533803452343.zip
Use Symfony's new contract Event class instead of the deprecated one
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/Security')
-rw-r--r--lib/public/Security/CSP/AddContentSecurityPolicyEvent.php1
-rw-r--r--lib/public/Security/FeaturePolicy/AddFeaturePolicyEvent.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/Security/CSP/AddContentSecurityPolicyEvent.php b/lib/public/Security/CSP/AddContentSecurityPolicyEvent.php
index 9bf1d57e77e..9c48f4038d8 100644
--- a/lib/public/Security/CSP/AddContentSecurityPolicyEvent.php
+++ b/lib/public/Security/CSP/AddContentSecurityPolicyEvent.php
@@ -40,6 +40,7 @@ class AddContentSecurityPolicyEvent extends Event {
* @since 17.0.0
*/
public function __construct(ContentSecurityPolicyManager $policyManager) {
+ parent::__construct();
$this->policyManager = $policyManager;
}
diff --git a/lib/public/Security/FeaturePolicy/AddFeaturePolicyEvent.php b/lib/public/Security/FeaturePolicy/AddFeaturePolicyEvent.php
index ab93844c3f8..e840f910769 100644
--- a/lib/public/Security/FeaturePolicy/AddFeaturePolicyEvent.php
+++ b/lib/public/Security/FeaturePolicy/AddFeaturePolicyEvent.php
@@ -40,6 +40,7 @@ class AddFeaturePolicyEvent extends Event {
* @since 17.0.0
*/
public function __construct(FeaturePolicyManager $policyManager) {
+ parent::__construct();
$this->policyManager = $policyManager;
}