ERROR: InvalidArgument - lib/Chat/SystemMessage/Listener.php:266:52 - Argument 2 of OCP\EventDispatcher\IEventDispatcher::addListener expects callable(OCP\EventDispatcher\Event):void, impure-Closure(Symfony\Component\EventDispatcher\GenericEvent):void provided (see https://psalm.dev/004)
$dispatcher->addListener('OCP\Share::postShare', $listener);
ERROR: InvalidArgument - lib/Chat/SystemMessage/Listener.php:267:82 - Argument 2 of OCP\EventDispatcher\IEventDispatcher::addListener expects callable(OCP\EventDispatcher\Event):void, impure-Closure(Symfony\Component\EventDispatcher\GenericEvent):void provided (see https://psalm.dev/004)
$dispatcher->addListener(RoomShareProvider::class . '::' . 'share_file_again', $listener);
ERROR: InvalidArgument - lib/Flow/Operation.php:85:67 - Argument 2 of OCP\EventDispatcher\IEventDispatcher::addListener expects callable(OCP\EventDispatcher\Event):void, impure-Closure(Symfony\Component\EventDispatcher\GenericEvent):mixed provided (see https://psalm.dev/004)
$dispatcher->addListener(FlowManager::EVENT_NAME_REG_OPERATION, function (GenericEvent $event) {
$operation = \OC::$server->query(Operation::class);
$event->getSubject()->registerOperation($operation);
Util::addScript('spreed', 'flow');
});
ERROR: InvalidArgument - lib/Share/Listener.php:38:51 - Argument 2 of OCP\EventDispatcher\IEventDispatcher::addListener expects callable(OCP\EventDispatcher\Event):void, array{OCA\Talk\Share\Listener::class, string(listenPreShare)} provided (see https://psalm.dev/004)
$dispatcher->addListener('OCP\Share::preShare', [self::class, 'listenPreShare'], 1000);
not sure why they just started appearing now...
See https://github.com/nextcloud/spreed/runs/1340889286?check_suite_focus=true
not sure why they just started appearing now...