Skip to content

Commit af955da

Browse files
committed
Fix incorrect type hint
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
1 parent 8fb3e83 commit af955da

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Components/Key.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ final class Key implements Component
2525
/**
2626
* The key columns
2727
*
28-
* @var array<int, array<string, int|string>>
29-
* @phpstan-var array{name?: string, length?: int, order?: string}[]
28+
* @var array{name?: string, length?: int, order?: string}[]
3029
*/
3130
public array $columns;
3231

src/Utils/ForeignKey.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
final class ForeignKey
88
{
99
/**
10-
* @param (int|string)[] $indexList
11-
* @param string[] $refIndexList
10+
* @param string[] $indexList
11+
* @param string[] $refIndexList
1212
*/
1313
public function __construct(
1414
public string|null $constraint = null,

0 commit comments

Comments
 (0)