Skip to content

Commit a2ea59a

Browse files
committed
fix(teams): add consumable and implementable annotations
Assisted-by: GitHub Copilot:GPT-5.6 Terra Signed-off-by: Stefan Dietrich <5716289+stediefan@users.noreply.github.com>
1 parent 203d029 commit a2ea59a

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

lib/public/Teams/ITeamFolderProvider.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
namespace OCP\Teams;
1111

12+
use OCP\AppFramework\Attribute\Consumable;
13+
use OCP\AppFramework\Attribute\Implementable;
14+
1215
/**
1316
* Provides the exclusive folder belonging to a team.
1417
*
@@ -17,6 +20,8 @@
1720
*
1821
* @since 35.0.0
1922
*/
23+
#[Consumable(since: '35.0.0')]
24+
#[Implementable(since: '35.0.0')]
2025
interface ITeamFolderProvider extends ITeamResourceProvider {
2126
/**
2227
* Return the folder exclusively linked to the team.

lib/public/Teams/TeamFolder.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,14 @@
99

1010
namespace OCP\Teams;
1111

12+
use OCP\AppFramework\Attribute\Consumable;
13+
1214
/**
1315
* A folder exclusively linked to a team.
1416
*
1517
* @since 35.0.0
1618
*/
19+
#[Consumable(since: '35.0.0')]
1720
class TeamFolder implements \JsonSerializable {
1821
/**
1922
* @since 35.0.0

0 commit comments

Comments
 (0)