Skip to content
Snippets Groups Projects
Commit 217c2441 authored by Robin Appelman's avatar Robin Appelman
Browse files

psalm fixes


Signed-off-by: default avatarRobin Appelman <robin@icewind.nl>
parent 10d0f151
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,9 @@ use OCP\IConfig;
use OCP\Security\CSP\AddContentSecurityPolicyEvent;
use Psr\Log\LoggerInterface;
/**
* @implements IEventListener<AddContentSecurityPolicyEvent>
*/
class CSPListener implements IEventListener {
private $config;
private $logger;
......
......@@ -38,6 +38,9 @@ class Install implements IRepairStep {
return 'Set binary permissions';
}
/**
* @return void
*/
public function run(IOutput $output) {
$this->setupWizard->testBinary();
}
......
......@@ -24,5 +24,10 @@ declare(strict_types=1);
namespace OCA\NotifyPush\Queue;
interface IQueue {
/**
* @param string $channel
* @param mixed $message
* @return void
*/
public function push(string $channel, $message);
}
......@@ -33,9 +33,6 @@ class RedisQueue implements IQueue {
$this->redis = $redis;
}
/**
* @return void
*/
public function push(string $channel, $message) {
$this->redis->publish($channel, json_encode($message));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment