Fix signature in SearchIndexManager::getTableName()
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 5 Aug 2022 13:17:41 +0000 (15:17 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 5 Aug 2022 13:18:17 +0000 (15:18 +0200)
see db4325a863919ee1eea073b8ab8ac1fab377584e

wcfsetup/install/files/lib/system/search/SearchIndexManager.class.php

index 474ac94c4d34cc3c62d8edd8f2436092a6e10ccb..83642c62af8f6b83bae1f76fbc7ac74b19052520 100644 (file)
@@ -168,7 +168,7 @@ class SearchIndexManager extends SingletonFactory implements ISearchIndexManager
      *
      * @param mixed $objectType
      */
-    public static function getTableName(string $objectType): string
+    public static function getTableName(ObjectType|string $objectType): string
     {
         if (\is_string($objectType)) {
             $objectType = self::getInstance()->getObjectType($objectType);