diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-06-26 14:27:41 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-06-26 14:27:41 +0200 |
commit | 4c80c9595ff8897171bb061c0d6749257e73f802 (patch) | |
tree | 383cebcdf74226550e6d2230ccf5918f27582537 /lib/private/repair.php | |
parent | 1822bba5e941862323117e2625361098ce729155 (diff) | |
download | nextcloud-server-4c80c9595ff8897171bb061c0d6749257e73f802.tar.gz nextcloud-server-4c80c9595ff8897171bb061c0d6749257e73f802.zip |
Redeclared as public to allow invocation from within the closure in php 5.3
Diffstat (limited to 'lib/private/repair.php')
-rw-r--r-- | lib/private/repair.php | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/private/repair.php b/lib/private/repair.php index 23d1c2b831e..db2a04433b0 100644 --- a/lib/private/repair.php +++ b/lib/private/repair.php @@ -13,7 +13,7 @@ use OC\Hooks\Emitter; class Repair extends BasicEmitter { /** - * @var array + * @var RepairStep[] **/ private $repairSteps; @@ -80,4 +80,13 @@ class Repair extends BasicEmitter { public static function getBeforeUpgradeRepairSteps() { return array(); } + + /** + * {@inheritDoc} + * + * Redeclared as public to allow invocation from within the closure above in php 5.3 + */ + public function emit($scope, $method, $arguments = array()) { + parent::emit($scope, $method, $arguments); + } } |