From 36ae2f3ea4b3fc1873600bc71564135ac331f9b2 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 11 Nov 2017 14:15:37 +0100 Subject: [PATCH] Fix this to self --- System/File/Local/File.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/System/File/Local/File.php b/System/File/Local/File.php index 0804f90ad..7977dcb4e 100644 --- a/System/File/Local/File.php +++ b/System/File/Local/File.php @@ -165,7 +165,7 @@ class File extends FileAbstract implements FileInterface */ public static function created(string $path) : \DateTime { - return $this->createFileTime($path, filemtime($path)); + return self::createFileTime($path, filemtime($path)); } /** @@ -173,7 +173,7 @@ class File extends FileAbstract implements FileInterface */ public static function changed(string $path) : \DateTime { - return $this->createFileTime($path, filectime($path)); + return self::createFileTime($path, filectime($path)); } private static function createFileTime(string $path, int $time)