@@ -146,7 +146,7 @@ |
||
| 146 | 146 | /** |
| 147 | 147 | * Static invocation of the *save* method. |
| 148 | 148 | * |
| 149 | - * @param string|\Psr\Cache\CacheItemInterface $value Value name |
|
| 149 | + * @param CacheItemInterface $value Value name |
|
| 150 | 150 | * @param mixed $data Value |
| 151 | 151 | * @param AbstractModule $mod Calling module |
| 152 | 152 | */ |
@@ -50,7 +50,9 @@ |
||
| 50 | 50 | |
| 51 | 51 | if($fetched = File::fetchUrl($url)) { |
| 52 | 52 | $content = @unserialize($fetched); |
| 53 | - if(is_numeric($content)) return $content; |
|
| 53 | + if(is_numeric($content)) { |
|
| 54 | + return $content; |
|
| 55 | + } |
|
| 54 | 56 | } |
| 55 | 57 | } |
| 56 | 58 | |