diff --git a/core/modules/system/tests/modules/common_test/common_test.routing.yml b/core/modules/system/tests/modules/common_test/common_test.routing.yml index a542802..da045d0 100644 --- a/core/modules/system/tests/modules/common_test/common_test.routing.yml +++ b/core/modules/system/tests/modules/common_test/common_test.routing.yml @@ -5,7 +5,7 @@ common_test_l_active_class: requirements: _access: 'TRUE' common_test_destination: - pattern: 'common-test/destination' + pattern: '/common-test/destination' defaults: _controller: '\Drupal\common_test\Controller\CommonTestTextController::destination' requirements: diff --git a/core/modules/system/tests/modules/common_test/lib/Drupal/common_test/Controller/CommonTestTextController.php b/core/modules/system/tests/modules/common_test/lib/Drupal/common_test/Controller/CommonTestTextController.php index a28b836..eb5500e 100644 --- a/core/modules/system/tests/modules/common_test/lib/Drupal/common_test/Controller/CommonTestTextController.php +++ b/core/modules/system/tests/modules/common_test/lib/Drupal/common_test/Controller/CommonTestTextController.php @@ -17,7 +17,7 @@ class CommonTestTextController { /** * Prints a destination query parameter. * - * @return Response + * @return Symfony\Component\HttpFoundation\Response * A new Response object containing a string with the destination query * parameter. */