Skip to content

Commit 2a153f1

Browse files
committed
Fix psalm issue.
Signed-off-by: Antoon P. <antoon.prins@surf.nl>
1 parent 97e2819 commit 2a153f1

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

apps/cloud_federation_api/lib/Migration/DropFederatedInvitesTable.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,22 @@
1414
use OCP\Migration\IOutput;
1515
use OCP\Migration\IRepairStep;
1616

17+
/**
18+
* Drops the federated_invites table unless it contains data.
19+
*/
1720
class DropFederatedInvitesTable implements IRepairStep {
1821

1922
public function __construct(
2023
protected Connection $db,
2124
) {
2225
}
2326

27+
#[\Override]
2428
public function getName(): string {
2529
return 'Conditionally drop the federated_invites table';
2630
}
2731

28-
/**
29-
* Drops the federated_invites table unless it contains data.
30-
*
31-
* @param IOutput $output
32-
* @return void
33-
*/
32+
#[\Override]
3433
public function run(IOutput $output): void {
3534
$table_name = 'federated_invites';
3635
$schema = new SchemaWrapper($this->db);

0 commit comments

Comments
 (0)