mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Schema -> ISchemaWrapper
This makes my autocomplete happier :)
This commit is contained in:
@@ -70,7 +70,7 @@ With this step the new column gets created:
|
||||
.. code-block:: php
|
||||
|
||||
public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) {
|
||||
/** @var Schema $schema */
|
||||
/** @var ISchemaWrapper $schema */
|
||||
$schema = $schemaClosure();
|
||||
|
||||
$table = $schema->getTable('twofactor_backupcodes');
|
||||
@@ -109,7 +109,7 @@ With this the old column gets removed.
|
||||
.. code-block:: php
|
||||
|
||||
public function changeSchema(IOutput $output, \Closure $schemaClosure, array $options) {
|
||||
/** @var Schema $schema */
|
||||
/** @var ISchemaWrapper $schema */
|
||||
$schema = $schemaClosure();
|
||||
|
||||
$table = $schema->getTable('twofactor_backupcodes');
|
||||
|
||||
Reference in New Issue
Block a user