Skip to content

Commit c4e6225

Browse files
committed
Tests: Improve dispatch_collaboration phpdoc wording
Clarify that the $_namespace parameter defaults to the primary namespace, matching Weston's suggestion from PR 11068 review.
1 parent 0720297 commit c4e6225

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/phpunit/tests/rest-api/rest-collaboration-server.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private function build_room( $room, $client_id = '1', $cursor = 0, $awareness =
6262
* Dispatches a collaboration request with the given rooms.
6363
*
6464
* @param array $rooms Array of room request data.
65-
* @param string $_namespace REST namespace to dispatch against.
65+
* @param string $_namespace REST namespace to use. Defaults to the primary namespace.
6666
* @return WP_REST_Response Response object.
6767
*/
6868
private function dispatch_collaboration( $rooms, $_namespace = 'wp-collaboration/v1' ) {

0 commit comments

Comments
 (0)