File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class CreateIndex
9
9
public $ name ;
10
10
11
11
/**
12
- * @var string
12
+ * @var 'INDEX'|'UNIQUE'|'PRIMARY'|'FULLTEXT'|'SPATIAL'
13
13
*/
14
14
public $ type ;
15
15
Original file line number Diff line number Diff line change 4
4
class Index
5
5
{
6
6
/**
7
- * @var string
7
+ * @var 'INDEX'|'UNIQUE'|'PRIMARY'|'FULLTEXT'|'SPATIAL'
8
8
*/
9
9
public $ type ;
10
10
@@ -13,6 +13,9 @@ class Index
13
13
*/
14
14
public $ columns ;
15
15
16
+ /**
17
+ * @param 'INDEX'|'UNIQUE'|'PRIMARY'|'FULLTEXT'|'SPATIAL' $type
18
+ */
16
19
public function __construct (
17
20
string $ type ,
18
21
array $ columns
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class TableDefinition
34
34
public $ primaryKeyColumns ;
35
35
36
36
/**
37
- * @var array
37
+ * @var array<string, Index>
38
38
*/
39
39
public $ indexes ;
40
40
@@ -43,6 +43,9 @@ class TableDefinition
43
43
*/
44
44
public $ autoIncrementOffsets = [];
45
45
46
+ /**
47
+ * @param array<string, Index> $indexes
48
+ */
46
49
public function __construct (
47
50
string $ name ,
48
51
string $ databaseName ,
You can’t perform that action at this time.
0 commit comments