chore: fix psalm issues

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2026-05-05 16:56:42 +02:00
parent ed30b1922f
commit e03f48692e
No known key found for this signature in database
GPG key ID: 7E849AE05218500F
4 changed files with 6 additions and 4 deletions

View file

@ -649,7 +649,7 @@
"/ocs/v2.php/apps/appstore/api/v1/apps/uninstall": {
"post": {
"operationId": "api-uninstall-app",
"summary": "Uninstall an app. This will disable the app - if needed - and then remove the app from the system",
"summary": "Uninstall an app.",
"description": "This endpoint requires admin access\nThis endpoint requires password confirmation",
"tags": [
"api"

View file

@ -24,7 +24,7 @@ use PHPUnit\Framework\MockObject\MockObject;
use Psr\Log\LoggerInterface;
use Test\TestCase;
#[\PHPUnit\Framework\Attributes\Group('DB')]
#[\PHPUnit\Framework\Attributes\Group(name: 'DB')]
final class ApiControllerTest extends TestCase {
private IRequest&MockObject $request;
@ -52,6 +52,7 @@ final class ApiControllerTest extends TestCase {
private ApiController $apiController;
#[\Override]
protected function setUp(): void {
parent::setUp();

View file

@ -22,7 +22,7 @@ use OCP\IURLGenerator;
use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
#[\PHPUnit\Framework\Attributes\Group('DB')]
#[\PHPUnit\Framework\Attributes\Group(name: 'DB')]
final class PageControllerTest extends TestCase {
private IRequest&MockObject $request;
@ -44,6 +44,7 @@ final class PageControllerTest extends TestCase {
private PageController $pageController;
#[\Override]
protected function setUp(): void {
parent::setUp();

View file

@ -17657,7 +17657,7 @@
"/ocs/v2.php/apps/appstore/api/v1/apps/uninstall": {
"post": {
"operationId": "appstore-api-uninstall-app",
"summary": "Uninstall an app. This will disable the app - if needed - and then remove the app from the system",
"summary": "Uninstall an app.",
"description": "This endpoint requires admin access\nThis endpoint requires password confirmation",
"tags": [
"appstore/api"