From 332be6157ef73072c884ef0598ddf4c8a752f99b Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 29 Mar 2022 14:55:51 +0200 Subject: [PATCH] wip #5184 @0.25 --- src/Files/Files.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Files/Files.php b/src/Files/Files.php index 2481fee..08e528b 100644 --- a/src/Files/Files.php +++ b/src/Files/Files.php @@ -130,7 +130,7 @@ class Files return $f->getBasename($suffix); } - public function hashFileAttributes($path){ + public static function hashFileAttributes($path){ return hash('sha256',$path.'/$$'.filesize($path).'///'.filemtime($path)); } -- 2.39.5