Skip to content

Commit 03756c2

Browse files
committed
Add missing typehints on test functions after merge
Signed-off-by: William Desportes <williamdes@wdes.fr>
1 parent 47d0fab commit 03756c2

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

tests/Builder/CreateStatementTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ public function testBuildSelect(): void
611611
);
612612
}
613613

614-
public function testBuildCreateTableSortedIndex()
614+
public function testBuildCreateTableSortedIndex(): void
615615
{
616616
$parser = new Parser(
617617
<<<'SQL'
@@ -655,7 +655,7 @@ public function testBuildCreateTableSortedIndex()
655655
);
656656
}
657657

658-
public function testBuildCreateTableComplexIndexes()
658+
public function testBuildCreateTableComplexIndexes(): void
659659
{
660660
// phpcs:disable Generic.Files.LineLength.TooLong
661661
$parser = new Parser(

tests/Components/KeyTest.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function testParse(): void
3131
);
3232
}
3333

34-
public function testParseKeyWithoutOptions()
34+
public function testParseKeyWithoutOptions(): void
3535
{
3636
$component = Key::parse(
3737
new Parser(),
@@ -48,7 +48,7 @@ public function testParseKeyWithoutOptions()
4848
);
4949
}
5050

51-
public function testParseKeyWithLengthWithoutOptions()
51+
public function testParseKeyWithLengthWithoutOptions(): void
5252
{
5353
$component = Key::parse(
5454
new Parser(),
@@ -65,7 +65,7 @@ public function testParseKeyWithLengthWithoutOptions()
6565
);
6666
}
6767

68-
public function testParseKeyWithLengthWithoutOptionsWithOrder()
68+
public function testParseKeyWithLengthWithoutOptionsWithOrder(): void
6969
{
7070
$component = Key::parse(
7171
new Parser(),
@@ -82,7 +82,7 @@ public function testParseKeyWithLengthWithoutOptionsWithOrder()
8282
);
8383
}
8484

85-
public function testParseKeyWithoutOptionsWithOrderLowercase()
85+
public function testParseKeyWithoutOptionsWithOrderLowercase(): void
8686
{
8787
$component = Key::parse(
8888
new Parser(),
@@ -99,7 +99,7 @@ public function testParseKeyWithoutOptionsWithOrderLowercase()
9999
);
100100
}
101101

102-
public function testParseKeyWithoutOptionsWithOrder()
102+
public function testParseKeyWithoutOptionsWithOrder(): void
103103
{
104104
$component = Key::parse(
105105
new Parser(),
@@ -116,7 +116,7 @@ public function testParseKeyWithoutOptionsWithOrder()
116116
);
117117
}
118118

119-
public function testParseKeyWithLengthWithOptions()
119+
public function testParseKeyWithLengthWithOptions(): void
120120
{
121121
$component = Key::parse(
122122
new Parser(),
@@ -142,7 +142,7 @@ public function testParseKeyWithLengthWithOptions()
142142
);
143143
}
144144

145-
public function testParseKeyExpressionWithoutOptions()
145+
public function testParseKeyExpressionWithoutOptions(): void
146146
{
147147
$component = Key::parse(
148148
new Parser(),
@@ -163,7 +163,7 @@ public function testParseKeyExpressionWithoutOptions()
163163
);
164164
}
165165

166-
public function testParseKeyExpressionWithOptions()
166+
public function testParseKeyExpressionWithOptions(): void
167167
{
168168
$component = Key::parse(
169169
new Parser(),
@@ -197,7 +197,7 @@ public function testParseKeyExpressionWithOptions()
197197
);
198198
}
199199

200-
public function testParseKeyExpressionWithOptionsError()
200+
public function testParseKeyExpressionWithOptionsError(): void
201201
{
202202
$parser = new Parser();
203203
$component = Key::parse(
@@ -231,7 +231,7 @@ public function testParseKeyExpressionWithOptionsError()
231231
);
232232
}
233233

234-
public function testParseKeyOneExpressionWithOptions()
234+
public function testParseKeyOneExpressionWithOptions(): void
235235
{
236236
$parser = new Parser();
237237
$component = Key::parse(
@@ -273,7 +273,7 @@ public function testParseKeyOneExpressionWithOptions()
273273
);
274274
}
275275

276-
public function testParseKeyMultipleExpressionsWithOptions()
276+
public function testParseKeyMultipleExpressionsWithOptions(): void
277277
{
278278
$parser = new Parser();
279279
$component = Key::parse(

0 commit comments

Comments
 (0)