Skip to content

Commit cc4e663

Browse files
tanlisujmikola
andcommitted
Apply suggestions from code review
Co-authored-by: Jeremy Mikola <[email protected]>
1 parent fe5d64d commit cc4e663

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/FunctionalTestCase.php

Lines changed: 2 additions & 4 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,12 +180,11 @@ 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
187187
* perform additional assertions.
188-
*
189-
* @param callable $callback
190188
*/
191189
protected function assertCollectionExists(string $collectionName, ?string $databaseName = null, ?callable $callback = null): void
192190
{

0 commit comments

Comments
 (0)