Redeclared as public to allow invocation from within the closure in php 5.3

This commit is contained in:
Thomas Müller 2014-06-26 14:27:41 +02:00
parent 1822bba5e9
commit 4c80c9595f
1 changed files with 10 additions and 1 deletions

View File

@ -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);
}
}