From 8ff3a05541c92aa328ba1176d2f601522485414c Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 3 Feb 2017 20:23:24 +0100 Subject: [PATCH] Make event attributes public Without this, reading the extension information would not be possible for the validator. --- framework/core/src/Event/ExtensionWillBeDisabled.php | 2 +- framework/core/src/Event/ExtensionWillBeEnabled.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/src/Event/ExtensionWillBeDisabled.php b/framework/core/src/Event/ExtensionWillBeDisabled.php index 6df58a41c..0823652a2 100644 --- a/framework/core/src/Event/ExtensionWillBeDisabled.php +++ b/framework/core/src/Event/ExtensionWillBeDisabled.php @@ -18,7 +18,7 @@ class ExtensionWillBeDisabled /** * @var string */ - protected $extension; + public $extension; /** * @param Extension $extension diff --git a/framework/core/src/Event/ExtensionWillBeEnabled.php b/framework/core/src/Event/ExtensionWillBeEnabled.php index e0a9214e3..0a664dc13 100644 --- a/framework/core/src/Event/ExtensionWillBeEnabled.php +++ b/framework/core/src/Event/ExtensionWillBeEnabled.php @@ -18,7 +18,7 @@ class ExtensionWillBeEnabled /** * @var string */ - protected $extension; + public $extension; /** * @param Extension $extension