@@ -60,7 +60,7 @@ public static function provideValidOptions(): \Generator
60
60
/**
61
61
* @dataProvider provideValidOptions
62
62
*/
63
- public function testCreateDefinition ($ options )
63
+ public function testCreateDefinition ($ options ): void
64
64
{
65
65
$ this ->assertSame (GridFSAdapter::class, $ this ->createBuilder ()->createDefinition ($ options , null )->getClass ());
66
66
}
@@ -86,7 +86,7 @@ public static function provideInvalidOptions(): \Generator
86
86
/**
87
87
* @dataProvider provideInvalidOptions
88
88
*/
89
- public function testInvalidOptions (array $ options , string $ message )
89
+ public function testInvalidOptions (array $ options , string $ message ): void
90
90
{
91
91
$ builder = $ this ->createBuilder ();
92
92
@@ -96,7 +96,7 @@ public function testInvalidOptions(array $options, string $message)
96
96
$ builder ->createDefinition ($ options , null );
97
97
}
98
98
99
- public function testInitializeBucketFromDocumentManager ()
99
+ public function testInitializeBucketFromDocumentManager (): void
100
100
{
101
101
$ client = new Client ();
102
102
$ config = new Configuration ();
@@ -112,7 +112,7 @@ public function testInitializeBucketFromDocumentManager()
112
112
$ this ->assertSame ('avatars ' , $ bucket ->getBucketName ());
113
113
}
114
114
115
- public function testInitializeBucketFromConfig ()
115
+ public function testInitializeBucketFromConfig (): void
116
116
{
117
117
$ bucket = GridFSAdapterDefinitionBuilder::initializeBucketFromConfig (
118
118
'mongodb://server:27017/ ' ,
0 commit comments