LinkCache: Remove unncessary & from singleton() function
authorKunal Mehta <legoktm@member.fsf.org>
Wed, 27 Apr 2016 21:30:54 +0000 (14:30 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Wed, 27 Apr 2016 21:30:54 +0000 (14:30 -0700)
Change-Id: I9e9e530a59d7b9062d0214ba82146b313e6b10fd

includes/cache/LinkCache.php

index 276e818..9da3971 100644 (file)
@@ -58,7 +58,7 @@ class LinkCache {
         *
         * @return LinkCache
         */
-       public static function &singleton() {
+       public static function singleton() {
                if ( !self::$instance ) {
                        self::$instance = new LinkCache;
                }