chore: Типы

This commit is contained in:
origami11@yandex.ru 2025-12-10 19:50:04 +03:00
parent 233749f1ea
commit 1b6630e5f5
2 changed files with 3 additions and 3 deletions

View file

@ -16,7 +16,7 @@ use Exception;
* @phpstan-type CreateAction array{
* type:"createTable",
* table_name:string,
* constraints:?array<mixed>,
* constraints?:array{fields: array<string>, type: string}|string,
* fields:array<mixed>,
* }
*
@ -277,7 +277,7 @@ class Manager
* Добавляет столбец в таблицу
* @param string $table_name
* @param string $column_name
* @param array $field
* @param ColumnProps $field
*/
public function addColumn($table_name, $column_name, $field): void
{

View file

@ -296,7 +296,7 @@ class Functions {
/**
* @param string $key
* @param list<array<string, mixed>>|\ArrayIterator<int, array> $array
* @param array<array<string, mixed>>|\ArrayIterator<int, array> $array
* @return array<string, mixed>
*/
static function assoc_key($key, $array) {