Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(lexicon): missing doc
Signed-off-by: Maxence Lange <[email protected]>
  • Loading branch information
ArtificialOwl committed Jul 24, 2025
commit f35990421327223ba30007308b141431fc1c42c9
2 changes: 2 additions & 0 deletions lib/public/Config/IUserConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
namespace OCP\Config;

use Generator;
use OCP\AppFramework\Attribute\Consumable;
use OCP\Config\Exceptions\IncorrectTypeException;
use OCP\Config\Exceptions\UnknownKeyException;

Expand All @@ -29,6 +30,7 @@
*
* @since 32.0.0
*/
#[Consumable(since: '32.0.0')]
interface IUserConfig {
/**
* @since 32.0.0
Expand Down
5 changes: 5 additions & 0 deletions lib/public/Config/Lexicon/ILexicon.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@

namespace OCP\Config\Lexicon;

use OCP\AppFramework\Attribute\Consumable;
use OCP\AppFramework\Attribute\Implementable;

/**
* This interface needs to be implemented if you want to define a config lexicon for your application
* The config lexicon is used to avoid conflicts and problems when storing/retrieving config values
*
* @since 32.0.0
*/
#[Consumable(since: '32.0.0')]
#[Implementable(since: '32.0.0')]
interface ILexicon {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

/**
* @experimental 31.0.0
* @deprecated use \OCP\Config\Exceptions\IncorrectTypeException
* @deprecated 32.0.0 use \OCP\Config\Exceptions\IncorrectTypeException
* @see \OCP\Config\Exceptions\IncorrectTypeException
*/
class IncorrectTypeException extends Exception {
Expand Down
2 changes: 1 addition & 1 deletion lib/unstable/Config/Exceptions/TypeConflictException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

/**
* @experimental 31.0.0
* @deprecated use \OCP\Config\Exceptions\TypeConflictException
* @deprecated 32.0.0 use \OCP\Config\Exceptions\TypeConflictException
* @see \OCP\Config\Exceptions\TypeConflictException
*/
class TypeConflictException extends Exception {
Expand Down
2 changes: 1 addition & 1 deletion lib/unstable/Config/Exceptions/UnknownKeyException.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

/**
* @experimental 31.0.0
* @deprecated use \OCP\Config\Exceptions\UnknownKeyException
* @deprecated 32.0.0 use \OCP\Config\Exceptions\UnknownKeyException
* @see \OCP\Config\Exceptions\UnknownKeyException
*/
class UnknownKeyException extends Exception {
Expand Down
Loading