From: Vincent Vanwaelscappel Date: Tue, 29 Mar 2022 12:55:51 +0000 (+0200) Subject: wip #5184 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=332be6157ef73072c884ef0598ddf4c8a752f99b;p=cubist_util.git wip #5184 @0.25 --- 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)); }