Skip to content
Snippets Groups Projects
Commit 4c80c959 authored by Thomas Müller's avatar Thomas Müller
Browse files

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

parent 1822bba5
Branches
No related tags found
No related merge requests found
......@@ -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);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment