diff --git a/typo3/sysext/core/Classes/Routing/Legacy/PersistedPatternMapperLegacyTrait.php b/typo3/sysext/core/Classes/Routing/Legacy/PersistedPatternMapperLegacyTrait.php
index c33b8603d5bbc4beb19e8c23d692e9c58a2bfb02..a954168d532e36b7e20c49996a4037e1f94684a3 100644
--- a/typo3/sysext/core/Classes/Routing/Legacy/PersistedPatternMapperLegacyTrait.php
+++ b/typo3/sysext/core/Classes/Routing/Legacy/PersistedPatternMapperLegacyTrait.php
@@ -54,7 +54,7 @@ trait PersistedPatternMapperLegacyTrait
      * @return array
      * @deprecated since TYPO3 v10.3, will be removed in TYPO3 v11.0
      */
-    protected function createRouteFieldConstraints(
+    protected function createFieldConstraints(
         QueryBuilder $queryBuilder,
         array $values,
         bool $resolveExpansion = false