Skip to content

Commit 6c18480

Browse files
committed
docs: make @var more detailed
1 parent 0114c4d commit 6c18480

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

system/Database/Forge.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Forge
3232
/**
3333
* List of fields.
3434
*
35-
* @var array
35+
* @var array<string, array|string> [name => attributes]
3636
*/
3737
protected $fields = [];
3838

@@ -351,7 +351,7 @@ public function addUniqueKey($key, string $keyName = '')
351351
/**
352352
* Add Field
353353
*
354-
* @param array|string $field
354+
* @param array<string, array|string>|string $field
355355
*
356356
* @return Forge
357357
*/
@@ -716,7 +716,7 @@ public function renameTable(string $tableName, string $newTableName)
716716
}
717717

718718
/**
719-
* @param array|string $field
719+
* @param array<string, array|string>|string $field
720720
*
721721
* @throws DatabaseException
722722
*/
@@ -772,7 +772,7 @@ public function dropColumn(string $table, $columnName)
772772
}
773773

774774
/**
775-
* @param array|string $field
775+
* @param array<string, array|string>|string $field
776776
*
777777
* @throws DatabaseException
778778
*/

0 commit comments

Comments
 (0)