From: Matthias Schmidt Date: Thu, 7 Apr 2016 15:05:31 +0000 (+0200) Subject: Fix case in name of called method X-Git-Tag: 3.0.0_Beta_1~1951^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5ef969bd27c49d3c3b9e264645c449e3f7832096;p=GitHub%2FWoltLab%2FWCF.git Fix case in name of called method --- diff --git a/wcfsetup/install/files/lib/acp/page/CacheListPage.class.php b/wcfsetup/install/files/lib/acp/page/CacheListPage.class.php index bc9e6be2c8..b405c900bc 100755 --- a/wcfsetup/install/files/lib/acp/page/CacheListPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/CacheListPage.class.php @@ -121,6 +121,7 @@ class CacheListPage extends AbstractPage { // get additional file information $data = array(); if (is_array($files)) { + /** @var \SplFileInfo $file */ foreach ($files as $file) { if ($ignore !== null && $ignore->match($file)) { continue; @@ -129,7 +130,7 @@ class CacheListPage extends AbstractPage { $data[] = array( 'filename' => $file->getBasename(), 'filesize' => $file->getSize(), - 'mtime' => $file->getMtime(), + 'mtime' => $file->getMTime(), 'perm' => substr(sprintf('%o', $file->getPerms()), -3), 'writable' => $file->isWritable() );