changes: Fix wrong typehint
authorDaimona Eaytoy <daimona.wiki@gmail.com>
Wed, 11 Sep 2019 09:00:28 +0000 (11:00 +0200)
committerDaimona Eaytoy <daimona.wiki@gmail.com>
Thu, 12 Sep 2019 10:57:34 +0000 (10:57 +0000)
Fortunately the method is private.

Change-Id: Ic3838f1269c99b9679c7552bcb7b049f0b8e7b6f

includes/changes/RCCacheEntryFactory.php

index d448eae..a048a22 100644 (file)
@@ -109,11 +109,11 @@ class RCCacheEntryFactory {
        }
 
        /**
-        * @param RecentChange $cacheEntry
+        * @param RCCacheEntry $cacheEntry
         *
         * @return string
         */
-       private function buildCLink( RecentChange $cacheEntry ) {
+       private function buildCLink( RCCacheEntry $cacheEntry ) {
                $type = $cacheEntry->mAttribs['rc_type'];
 
                // New unpatrolled pages