chore(psalm): Fix annotations to make psalm happy
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -29,6 +29,7 @@ use OCP\AppFramework\Db\DoesNotExistException;
|
|||||||
use OCP\AppFramework\Db\QBMapper;
|
use OCP\AppFramework\Db\QBMapper;
|
||||||
use OCP\IDBConnection;
|
use OCP\IDBConnection;
|
||||||
|
|
||||||
|
/** @template-extends QBMapper<Session> */
|
||||||
class SessionMapper extends QBMapper {
|
class SessionMapper extends QBMapper {
|
||||||
public function __construct(IDBConnection $db) {
|
public function __construct(IDBConnection $db) {
|
||||||
parent::__construct($db, 'deck_sessions', Session::class);
|
parent::__construct($db, 'deck_sessions', Session::class);
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ use OCP\IRequest;
|
|||||||
use Psr\Container\ContainerInterface;
|
use Psr\Container\ContainerInterface;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
|
|
||||||
|
/** @template-implements IEventListener<Event|SessionCreatedEvent|SessionClosedEvent> */
|
||||||
class LiveUpdateListener implements IEventListener {
|
class LiveUpdateListener implements IEventListener {
|
||||||
private LoggerInterface $logger;
|
private LoggerInterface $logger;
|
||||||
private SessionService $sessionService;
|
private SessionService $sessionService;
|
||||||
|
|||||||
Reference in New Issue
Block a user