diff --git a/typo3/sysext/extbase/Classes/Persistence/Repository.php b/typo3/sysext/extbase/Classes/Persistence/Repository.php
index 72eae9a267031a937473e590affa00e4f210bad7..e7c99f8af305e173a96c1fc4bda713538f5efe2a 100644
--- a/typo3/sysext/extbase/Classes/Persistence/Repository.php
+++ b/typo3/sysext/extbase/Classes/Persistence/Repository.php
@@ -327,7 +327,7 @@ class Repository implements RepositoryInterface, SingletonInterface
     /**
      * Returns the class name of this class.
      *
-     * @return class-string<RepositoryInterface> Class name of the repository.
+     * @return class-string<static> Class name of the repository.
      */
     protected function getRepositoryClassName()
     {