Completed
Push — 2.2 ( 709002...7184e8 )
by Kevin
04:01
created
src/BigFileCache.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,6 @@  discard block
 block discarded – undo
69 69
      * @param LoggerInterface|LogInterface $log
70 70
      * @param string $cacheDirectory
71 71
      * @param boolean $relativeToSystemTempDirectory
72
-     * @param int $hashDepth
73 72
      */
74 73
     function __construct($defaultTimeToLive, $log, $cacheDirectory, $relativeToSystemTempDirectory)
75 74
     {
@@ -263,6 +262,9 @@  discard block
 block discarded – undo
263 262
 		return $dir.$subFolder;
264 263
 	}
265 264
 
265
+	/**
266
+	 * @param string $key
267
+	 */
266 268
 	protected function getFileName($key) {
267 269
         $subFolder = $this->getDirectory($key);
268 270
 		// Remove any "/" and ":" from the name, and replace those with "_" ...
@@ -281,6 +283,9 @@  discard block
 block discarded – undo
281 283
 		return $subFolder.md5($key).'.cache';
282 284
 	}
283 285
 
286
+    /**
287
+     * @param string $dir
288
+     */
284 289
     private static function rrmdir($dir) {
285 290
         if (is_dir($dir)) {
286 291
             $objects = scandir($dir);
Please login to merge, or discard this patch.