Skip to content

Commit

Permalink
fix: add missing copyrights and strict types
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
  • Loading branch information
andrey18106 committed Mar 12, 2024
1 parent a7ff09d commit 865fd3b
Show file tree
Hide file tree
Showing 9 changed files with 93 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
*
Expand Down
7 changes: 7 additions & 0 deletions lib/private/AppFramework/Bootstrap/RegistrationContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,13 @@ public function getSetupChecks(): array {
return $this->setupChecks;
}

/**
* @return ServiceRegistration<ITeamResourceProvider>[]
*/
public function getTeamResourceProviders(): array {
return $this->teamResourceProviders;
}

/**
* @return ServiceRegistration<IDeclarativeSettingsForm>[]
*/
Expand Down
3 changes: 3 additions & 0 deletions lib/private/Settings/DeclarativeManager.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
*
Expand Down
24 changes: 24 additions & 0 deletions lib/public/Settings/Events/DeclarativeSettingsGetValueEvent.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
*
* @author Kate Döen <kate.doeen@nextcloud.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

namespace OCP\Settings\Events;

use Exception;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
*
* @author Kate Döen <kate.doeen@nextcloud.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

namespace OCP\Settings\Events;

use OCP\EventDispatcher\Event;
Expand Down
24 changes: 24 additions & 0 deletions lib/public/Settings/Events/DeclarativeSettingsSetValueEvent.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
*
* @author Kate Döen <kate.doeen@nextcloud.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/

namespace OCP\Settings\Events;

use OCP\EventDispatcher\Event;
Expand Down
3 changes: 3 additions & 0 deletions lib/public/Settings/IDeclarativeManager.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
*
Expand Down
3 changes: 3 additions & 0 deletions lib/public/Settings/IDeclarativeSettingsForm.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
*
Expand Down
2 changes: 2 additions & 0 deletions tests/lib/Settings/DeclarativeManagerTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/**
* @copyright Copyright (c) 2023 Andrey Borysenko <andrey.borysenko@nextcloud.com>
*
Expand Down

0 comments on commit 865fd3b

Please sign in to comment.