diff --git a/typo3/sysext/extbase/Classes/Persistence/Repository.php b/typo3/sysext/extbase/Classes/Persistence/Repository.php
index bf369b0e2faa9c39c0382dbe72dece89a51bccf5..54cbe7115d3e41937f3fb6127bb313e26b5bae77 100644
--- a/typo3/sysext/extbase/Classes/Persistence/Repository.php
+++ b/typo3/sysext/extbase/Classes/Persistence/Repository.php
@@ -324,7 +324,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()
     {