|
@@ -56,7 +56,7 @@ use OC\Template\SCSSCacher;
|
|
|
use OCP\AppFramework\QueryException;
|
|
|
use OCP\Migration\IOutput;
|
|
|
use OCP\Migration\IRepairStep;
|
|
|
-use Symfony\Component\EventDispatcher\EventDispatcher;
|
|
|
+use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
|
|
use Symfony\Component\EventDispatcher\GenericEvent;
|
|
|
|
|
|
class Repair implements IOutput {
|
|
@@ -64,7 +64,7 @@ class Repair implements IOutput {
|
|
|
/** @var IRepairStep[] */
|
|
|
private $repairSteps;
|
|
|
|
|
|
- /** @var EventDispatcher */
|
|
|
+ /** @var EventDispatcherInterface */
|
|
|
private $dispatcher;
|
|
|
|
|
|
/** @var string */
|
|
@@ -74,9 +74,9 @@ class Repair implements IOutput {
|
|
|
* Creates a new repair step runner
|
|
|
*
|
|
|
* @param IRepairStep[] $repairSteps array of RepairStep instances
|
|
|
- * @param EventDispatcher $dispatcher
|
|
|
+ * @param EventDispatcherInterface $dispatcher
|
|
|
*/
|
|
|
- public function __construct($repairSteps = [], EventDispatcher $dispatcher = null) {
|
|
|
+ public function __construct($repairSteps = [], EventDispatcherInterface $dispatcher = null) {
|
|
|
$this->repairSteps = $repairSteps;
|
|
|
$this->dispatcher = $dispatcher;
|
|
|
}
|