Skip to content

Commit

Permalink
Merge pull request #388 from cvigano/use-correct-container-in-listener
Browse files Browse the repository at this point in the history
Use PSR-11 ContainerInterface to make this app NC 27 compatible
  • Loading branch information
cwilby authored Jan 3, 2024
2 parents dcbbb9d + 1fe9d8d commit 1d9025c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Listener/RegisterFlowOperationsListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
use OCA\WorkflowMediaConverter\Operation\ConvertMediaOperation;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
use OCP\IServerContainer;
use OCP\Util;
use OCP\WorkflowEngine\Events\RegisterOperationsEvent;
use Psr\Container\ContainerInterface;

class RegisterFlowOperationsListener implements IEventListener {
private $container;
private ContainerInterface $container;

public function __construct(IServerContainer $container) {
public function __construct(ContainerInterface $container) {
$this->container = $container;
}

Expand Down

0 comments on commit 1d9025c

Please sign in to comment.