fix: gitactions psalm warnings

pull/307/head
Sebastien Marinier 2024-10-28 14:59:01 +01:00
parent 63982ac2e7
commit bbf0abfa75
2 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,9 @@ use OCP\AppFramework\Http\ContentSecurityPolicy;
use OCP\AppFramework\Http\Response;
use OCP\Template;
/**
* @template-extends Response<int, array<string, mixed>>
*/
class NoPermissionResponse extends Response {
public function __construct() {
parent::__construct();

View File

@ -6,6 +6,9 @@ use OCP\AppFramework\Http\ContentSecurityPolicy;
use OCP\AppFramework\Http\Response;
use OCP\Template;
/**
* @template-extends Response<int, array<string, mixed>>
*/
class NotFoundResponse extends Response {
public function __construct() {
parent::__construct();