Skip to content

Commit 614859e

Browse files
committed
and cs and reuse
Signed-off-by: dartcafe <github@dartcafe.de>
1 parent 86d6ce7 commit 614859e

4 files changed

Lines changed: 11 additions & 6 deletions

File tree

lib/Controller/BaseController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use OCP\AppFramework\Http\JSONResponse;
1717
use OCP\IRequest;
1818

19-
2019
/**
2120
* @psalm-api
2221
* @psalm-import-type HttpStatusCode from \OCA\Polls\Types

lib/Service/OptionService.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
use OCA\Polls\Event\OptionUnconfirmedEvent;
2121
use OCA\Polls\Event\OptionUpdatedEvent;
2222
use OCA\Polls\Event\PollOptionReorderedEvent;
23-
use OCA\Polls\Exceptions\DuplicateEntryException;
2423
use OCA\Polls\Exceptions\InvalidPollTypeException;
2524
use OCA\Polls\Model\Sequence;
2625
use OCA\Polls\Model\SimpleOption;

lib/Types.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<?php
22

3+
declare(strict_types=1);
4+
/**
5+
* SPDX-FileCopyrightText: 2025 Nextcloud contributors
6+
* SPDX-License-Identifier: AGPL-3.0-or-later
7+
*/
38
namespace OCA\Polls;
49

510
/**
@@ -10,4 +15,5 @@
1015
* 500|501|502|503|504|505|506|507|508|509|510|511
1116
* @psalm-api
1217
*/
13-
interface Types {}
18+
interface Types {
19+
}

stubs/circles-stubs.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44
/**
5-
* SPDX-FileCopyrightText: 2017 Nextcloud contributors
5+
* SPDX-FileCopyrightText: 2025 Nextcloud contributors
66
* SPDX-License-Identifier: AGPL-3.0-or-later
77
*/
88
namespace OCA\Circles\Model;
@@ -11,5 +11,6 @@
1111
* @psalm-immutable
1212
*/
1313
final class Circle {
14-
public function getUrl() {}
15-
}
14+
public function getUrl() {
15+
}
16+
}

0 commit comments

Comments
 (0)