Skip to content

Commit

Permalink
Fix GridFS providers
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Sep 13, 2024
1 parent 1a5e2dc commit 1224055
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/GridFS/BucketFunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public function testDownloadToStreamShouldRequireDestinationStream($destination)
$this->bucket->downloadToStream('id', $destination);
}

public static function provideInvalidStreamValues()
public static function provideInvalidStreamValues(): array
{
return self::wrapValuesForDataProvider(self::getInvalidStreamValues());
}
Expand Down Expand Up @@ -1029,7 +1029,7 @@ private function assertIndexNotExists(string $collectionName, string $indexName)
/**
* Return a list of invalid stream values.
*/
private function getInvalidStreamValues(): array
private static function getInvalidStreamValues(): array
{
return [null, 123, 'foo', [], hash_init('md5')];
}
Expand Down

0 comments on commit 1224055

Please sign in to comment.