build: Updating mediawiki/mediawiki-codesniffer to 0.12.0
[lhc/web/wiklou.git] / includes / OutputPage.php
index dd21194..b71ae89 100644 (file)
@@ -2013,7 +2013,7 @@ class OutputPage extends ContextSource {
                }
 
                $age = time() - wfTimestamp( TS_UNIX, $mtime );
-               $adaptiveTTL = max( .9 * $age, $minTTL );
+               $adaptiveTTL = max( 0.9 * $age, $minTTL );
                $adaptiveTTL = min( $adaptiveTTL, $maxTTL );
 
                $this->lowerCdnMaxage( (int)$adaptiveTTL );