Merge "CategoryViewer: Do opportunistic category recounts for mismatched file counts...
[lhc/web/wiklou.git] / tests / testHelpers.inc
index 0299c26..76544a5 100644 (file)
@@ -661,8 +661,7 @@ class TestFileIterator implements Iterator {
                        ) );
                }
 
-               $tokens = array_values( $tokens );
-               return $tokens[0];
+               return array_values( $tokens )[0];
        }
 }