]> _ Git - cubist_util.git/commitdiff
wip #5184 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 29 Mar 2022 12:55:51 +0000 (14:55 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 29 Mar 2022 12:55:51 +0000 (14:55 +0200)
src/Files/Files.php

index 2481fee546adece444ed57b299ed8b6e06227c1d..08e528bf4aba2f8ae7841840bc1bbab1298d774d 100644 (file)
@@ -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));
     }