fix: gitactions (psalm warnings NC < 28)

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

View File

@ -8,6 +8,9 @@ use OCP\Template;
/** /**
* @template-extends Response<int, array<string, mixed>> * @template-extends Response<int, array<string, mixed>>
*
* (NC < 28)
* @psalm-suppress TooManyTemplateParams
*/ */
class NoPermissionResponse extends Response { class NoPermissionResponse extends Response {
public function __construct() { public function __construct() {

View File

@ -8,6 +8,9 @@ use OCP\Template;
/** /**
* @template-extends Response<int, array<string, mixed>> * @template-extends Response<int, array<string, mixed>>
*
* (NC < 28)
* @psalm-suppress TooManyTemplateParams
*/ */
class NotFoundResponse extends Response { class NotFoundResponse extends Response {
public function __construct() { public function __construct() {