fix: Mark interfaces as Consumable

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
pull/63013/head
Carl Schwan 2 weeks ago
parent 9dad62c6eb
commit 37b79ccacb
No known key found for this signature in database
GPG Key ID: 02325448204E452A
  1. 2
      lib/public/DB/ISchemaWrapper.php
  2. 3
      lib/public/DB/Schema/IColumn.php
  3. 3
      lib/public/DB/Schema/IIndex.php
  4. 3
      lib/public/DB/Schema/ITable.php

@ -9,6 +9,7 @@ namespace OCP\DB;
use Doctrine\DBAL\Exception;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use OCP\AppFramework\Attribute\Consumable;
use OCP\DB\Schema\ITable;
/**
@ -21,6 +22,7 @@ use OCP\DB\Schema\ITable;
*
* @since 13.0.0
*/
#[Consumable(since: '13.0.0')]
interface ISchemaWrapper {
/**
* @throws Schema\SchemaException

@ -9,11 +9,14 @@ declare(strict_types=1);
namespace OCP\DB\Schema;
use OCP\AppFramework\Attribute\Consumable;
/**
* Object representation of a column.
*
* @since 35.0.0
*/
#[Consumable(since: '35.0.0')]
interface IColumn {
/**
* @param mixed[] $options

@ -9,11 +9,14 @@ declare(strict_types=1);
namespace OCP\DB\Schema;
use OCP\AppFramework\Attribute\Consumable;
/**
* Object representation of an index.
*
* @since 35.0.0
*/
#[Consumable(since: '35.0.0')]
interface IIndex {
/**
* Returns the name of this index.

@ -9,11 +9,14 @@ declare(strict_types=1);
namespace OCP\DB\Schema;
use OCP\AppFramework\Attribute\Consumable;
/**
* Object representation of a table.
*
* @since 35.0.0
*/
#[Consumable(since: '35.0.0')]
interface ITable {
/**
* Returns the name of this table.

Loading…
Cancel
Save