Skip to content

Commit 1224055

Browse files
committed
Fix GridFS providers
1 parent 1a5e2dc commit 1224055

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/GridFS/BucketFunctionalTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public function testDownloadToStreamShouldRequireDestinationStream($destination)
214214
$this->bucket->downloadToStream('id', $destination);
215215
}
216216

217-
public static function provideInvalidStreamValues()
217+
public static function provideInvalidStreamValues(): array
218218
{
219219
return self::wrapValuesForDataProvider(self::getInvalidStreamValues());
220220
}
@@ -1029,7 +1029,7 @@ private function assertIndexNotExists(string $collectionName, string $indexName)
10291029
/**
10301030
* Return a list of invalid stream values.
10311031
*/
1032-
private function getInvalidStreamValues(): array
1032+
private static function getInvalidStreamValues(): array
10331033
{
10341034
return [null, 123, 'foo', [], hash_init('md5')];
10351035
}

0 commit comments

Comments
 (0)