mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-14 15:38:40 +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
|
||||
{
|
||||
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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user