mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-08 13:28:39 +00:00
Fix this to self
This commit is contained in:
parent
69aa9f6c6e
commit
36ae2f3ea4
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user