Completed
Push — master ( 5bfdc5...fda08e )
by Sebastien
03:04
created
lib/Cerbere/Model/Hacked/HackedFileHasher.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -13,6 +13,7 @@
 block discarded – undo
13 13
    * Returns a hash of the given filename.
14 14
    *
15 15
    * Ignores file line endings
16
+   * @param string $filename
16 17
    */
17 18
   public function hash($filename) {
18 19
     if (file_exists($filename)) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
    * @return string|false
44 44
    */
45 45
   public function getCache($filename) {
46
-    $cache = false;//cache_get($this->getCacheKey($filename), HACKED_CACHE_TABLE);
46
+    $cache = false; //cache_get($this->getCacheKey($filename), HACKED_CACHE_TABLE);
47 47
 
48 48
     if (!empty($cache->data)) {
49 49
       return $cache->data;
Please login to merge, or discard this patch.
lib/Cerbere/Model/Hacked/HackedProjectWebFilesDownloader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
    *
68 68
    * If the file has already been downloaded, returns the the local path.
69 69
    *
70
-   * @param $url
70
+   * @param string $url
71 71
    *   The URL of the file on the server.
72 72
    *
73 73
    * @return string
Please login to merge, or discard this patch.