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)