Fix this to self

This commit is contained in:
Dennis Eichhorn 2017-11-11 14:15:37 +01:00
parent 69aa9f6c6e
commit 36ae2f3ea4

View File

@ -165,7 +165,7 @@ class File extends FileAbstract implements FileInterface
*/ */
public static function created(string $path) : \DateTime 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 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) private static function createFileTime(string $path, int $time)