1111
1212class CreateDefinitionTest extends TestCase
1313{
14- public function testParse ()
14+ public function testParse (): void
1515 {
1616 $ component = CreateDefinition::parse (
1717 new Parser (),
@@ -23,7 +23,7 @@ public function testParse()
2323 $ this ->assertEquals ('FULLTEXT INDEX `indx` (`str`) ' , (string ) $ component [1 ]);
2424 }
2525
26- public function testParse2 ()
26+ public function testParse2 (): void
2727 {
2828 $ component = CreateDefinition::parse (
2929 new Parser (),
@@ -35,7 +35,7 @@ public function testParse2()
3535 $ this ->assertTrue ($ component [0 ]->options ->has ('NOT NULL ' ));
3636 }
3737
38- public function testParseErr1 ()
38+ public function testParseErr1 (): void
3939 {
4040 $ parser = new Parser ();
4141 $ component = CreateDefinition::parse (
@@ -50,7 +50,7 @@ public function testParseErr1()
5050 );
5151 }
5252
53- public function testParseErr2 ()
53+ public function testParseErr2 (): void
5454 {
5555 $ parser = new Parser ();
5656 CreateDefinition::parse (
@@ -64,7 +64,7 @@ public function testParseErr2()
6464 );
6565 }
6666
67- public function testBuild ()
67+ public function testBuild (): void
6868 {
6969 $ parser = new Parser (
7070 'CREATE TABLE `payment` ( ' .
@@ -82,7 +82,7 @@ public function testBuild()
8282 );
8383 }
8484
85- public function testBuild2 ()
85+ public function testBuild2 (): void
8686 {
8787 $ parser = new Parser (
8888 'CREATE TABLE `payment` ( ' .
@@ -101,7 +101,7 @@ public function testBuild2()
101101 );
102102 }
103103
104- public function testBuild3 ()
104+ public function testBuild3 (): void
105105 {
106106 $ parser = new Parser (
107107 'DROP TABLE IF EXISTS `searches`; '
@@ -133,7 +133,7 @@ public function testBuild3()
133133 );
134134 }
135135
136- public function testBuildWithInvisibleKeyword ()
136+ public function testBuildWithInvisibleKeyword (): void
137137 {
138138 $ parser = new Parser (
139139 'CREATE TABLE `payment` ( ' .
0 commit comments