diff --git a/tests/phpunit/tests/rest-api/rest-server.php b/tests/phpunit/tests/rest-api/rest-server.php index 9fbcec03d24a1..4a9ee14301475 100644 --- a/tests/phpunit/tests/rest-api/rest-server.php +++ b/tests/phpunit/tests/rest-api/rest-server.php @@ -2486,7 +2486,7 @@ public function test_sanitizes_request_when_building_target_hints() { 'callback' => static function () { return new \WP_REST_Response(); }, - 'permission_callback' => function( WP_REST_Request $request ) { + 'permission_callback' => function ( WP_REST_Request $request ) { $this->assertIsInt( $request['id'] ); return true;