]> _ Git - cubist_pdf.git/commitdiff
wip #5220
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 17 May 2022 16:22:12 +0000 (18:22 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 17 May 2022 16:22:12 +0000 (18:22 +0200)
src/PDFTools.php

index c16038307ee58e441faab215e83324c2aecc9992..dc4602c7b384f40951ef1cbeb7d8ae7c91f7e178 100644 (file)
@@ -380,7 +380,7 @@ class PDFTools
         usleep(rand(100000, 2000000));
 
         while (file_exists($lock)) {
-            if(filemtime($lock)<time()-300){
+            if (filemtime($lock) < time() - 300) {
                 unlink($lock);
             }
             $returnAfterSleep = true;