Remove unnecessary pass by reference
authorjoshuaruesweg <ruesweg@woltlab.com>
Wed, 15 Jul 2020 08:42:08 +0000 (10:42 +0200)
committerjoshuaruesweg <ruesweg@woltlab.com>
Wed, 15 Jul 2020 08:42:08 +0000 (10:42 +0200)
wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php

index f9f959d255926661b750a26d4ad6cd85b8c632e9..a4f7afd2722e1115a03f1cba3d95a9e0f7a2ebd6 100755 (executable)
@@ -436,7 +436,7 @@ class SitemapRebuildWorker extends AbstractRebuildDataWorker {
         * @param       ObjectType      $object
         * @since       5.3
         */
-       public static function prepareSitemapObject(ObjectType &$object) {
+       public static function prepareSitemapObject(ObjectType $object) {
                $sitemapData = RegistryHandler::getInstance()->get('com.woltlab.wcf', self::REGISTRY_PREFIX . $object->objectType);
                
                if ($sitemapData !== null) {