Skip to content

Commit b30d2cf

Browse files
tanlisujmikola
andauthored
Apply suggestions from code review
Co-authored-by: Jeremy Mikola <jmikola@gmail.com>
1 parent fe5d64d commit b30d2cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/FunctionalTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ protected function assertCollectionCount($namespace, $count): void
154154
* Asserts that a collection with the given name does not exist on the
155155
* server.
156156
*
157-
* @param string $collectionName
158-
* @param string $databaseName Defaults to TestCase::getDatabaseName()
157+
* $databaseName defaults to TestCase::getDatabaseName() if unspecified.
159158
*/
160159
protected function assertCollectionDoesNotExist(string $collectionName, ?string $databaseName = null): void
161160
{
@@ -181,6 +180,7 @@ protected function assertCollectionDoesNotExist(string $collectionName, ?string
181180
/**
182181
* Asserts that a collection with the given name exists on the server.
183182
*
183+
* $databaseName defaults to TestCase::getDatabaseName() if unspecified.
184184
* An optional $callback may be provided, which should take a CollectionInfo
185185
* argument as its first and only parameter. If a CollectionInfo matching
186186
* the given name is found, it will be passed to the callback, which may

0 commit comments

Comments
 (0)