@@ -13,6 +13,7 @@ |
||
| 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)) { |
@@ -43,7 +43,7 @@ |
||
| 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; |
@@ -67,7 +67,7 @@ |
||
| 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 |