mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
chore: fix psalm issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
ed30b1922f
commit
e03f48692e
4 changed files with 6 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue