@@ -128,6 +128,7 @@ |
||
| 128 | 128 | * Get cache dir for app |
| 129 | 129 | * |
| 130 | 130 | * @param App $app |
| 131 | + * @param string $dirname |
|
| 131 | 132 | * @return string |
| 132 | 133 | */ |
| 133 | 134 | public static function getDir($dirname, $app = null) { |
@@ -35,8 +35,11 @@ |
||
| 35 | 35 | $contents = curl_exec($c); |
| 36 | 36 | curl_close($c); |
| 37 | 37 | |
| 38 | - if ($contents) return $contents; |
|
| 39 | - else return FALSE; |
|
| 38 | + if ($contents) { |
|
| 39 | + return $contents; |
|
| 40 | + } else { |
|
| 41 | + return FALSE; |
|
| 42 | + } |
|
| 40 | 43 | } |
| 41 | 44 | |
| 42 | 45 | static function deliveryTime($cart) { |