Skip to content

Commit f359904

Browse files
committed
fix(lexicon): missing doc
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
1 parent a0c9fed commit f359904

File tree

11 files changed

+101
-94
lines changed

11 files changed

+101
-94
lines changed

lib/public/Config/IUserConfig.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
namespace OCP\Config;
1010

1111
use Generator;
12+
use OCP\AppFramework\Attribute\Consumable;
1213
use OCP\Config\Exceptions\IncorrectTypeException;
1314
use OCP\Config\Exceptions\UnknownKeyException;
1415

@@ -29,6 +30,7 @@
2930
*
3031
* @since 32.0.0
3132
*/
33+
#[Consumable(since: '32.0.0')]
3234
interface IUserConfig {
3335
/**
3436
* @since 32.0.0

lib/public/Config/Lexicon/ILexicon.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,17 @@
88

99
namespace OCP\Config\Lexicon;
1010

11+
use OCP\AppFramework\Attribute\Consumable;
12+
use OCP\AppFramework\Attribute\Implementable;
13+
1114
/**
1215
* This interface needs to be implemented if you want to define a config lexicon for your application
1316
* The config lexicon is used to avoid conflicts and problems when storing/retrieving config values
1417
*
1518
* @since 32.0.0
1619
*/
20+
#[Consumable(since: '32.0.0')]
21+
#[Implementable(since: '32.0.0')]
1722
interface ILexicon {
1823

1924
/**

lib/unstable/Config/Exceptions/IncorrectTypeException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
/**
1414
* @experimental 31.0.0
15-
* @deprecated use \OCP\Config\Exceptions\IncorrectTypeException
15+
* @deprecated 32.0.0 use \OCP\Config\Exceptions\IncorrectTypeException
1616
* @see \OCP\Config\Exceptions\IncorrectTypeException
1717
*/
1818
class IncorrectTypeException extends Exception {

lib/unstable/Config/Exceptions/TypeConflictException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
/**
1414
* @experimental 31.0.0
15-
* @deprecated use \OCP\Config\Exceptions\TypeConflictException
15+
* @deprecated 32.0.0 use \OCP\Config\Exceptions\TypeConflictException
1616
* @see \OCP\Config\Exceptions\TypeConflictException
1717
*/
1818
class TypeConflictException extends Exception {

lib/unstable/Config/Exceptions/UnknownKeyException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
/**
1414
* @experimental 31.0.0
15-
* @deprecated use \OCP\Config\Exceptions\UnknownKeyException
15+
* @deprecated 32.0.0 use \OCP\Config\Exceptions\UnknownKeyException
1616
* @see \OCP\Config\Exceptions\UnknownKeyException
1717
*/
1818
class UnknownKeyException extends Exception {

0 commit comments

Comments
 (0)