diff --git a/core/lib/Drupal/Core/Access/CustomAccessCheck.php b/core/lib/Drupal/Core/Access/CustomAccessCheck.php
index fb2ccddb47685615eb6de6a6348a973b1c2cd5ef..3722d23281fa6eb3565959ab2709d5c0a72305f4 100644
--- a/core/lib/Drupal/Core/Access/CustomAccessCheck.php
+++ b/core/lib/Drupal/Core/Access/CustomAccessCheck.php
@@ -55,6 +55,8 @@ public function __construct(ControllerResolverInterface $controller_resolver, Ac
   /**
    * Checks access for the account and route using the custom access checker.
    *
+   * @param \Symfony\Component\Routing\Route $route
+   *   The route.
    * @param \Drupal\Core\Routing\RouteMatchInterface $route_match
    *   The route match object to be checked.
    * @param \Drupal\Core\Session\AccountInterface $account