@@ -67,10 +67,10 @@ |
||
| 67 | 67 | { |
| 68 | 68 | if ($date) { |
| 69 | 69 | $dateObj = new \DateTime($date); |
| 70 | - $date = '?datum=' . $dateObj->format('d.m.Y'); |
|
| 70 | + $date = '?datum='.$dateObj->format('d.m.Y'); |
|
| 71 | 71 | } |
| 72 | 72 | |
| 73 | - return $this->baseUrl . $date; |
|
| 73 | + return $this->baseUrl.$date; |
|
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | /** |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | */ |
| 50 | 50 | private function loadDataFromUrl($url) |
| 51 | 51 | { |
| 52 | - $url .= (is_numeric(substr($url, -1)) ? '&r=' : '?r=') . time(); |
|
| 52 | + $url .= (is_numeric(substr($url, -1)) ? '&r=' : '?r=').time(); |
|
| 53 | 53 | $data = file_get_contents($url); |
| 54 | 54 | |
| 55 | 55 | return $data; |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | $ident = $this->undefinedFolderName; |
| 112 | 112 | } |
| 113 | 113 | |
| 114 | - return temp_path($this->cachePathPrefix . '/' . $ident . '/' . $date . '.txt'); |
|
| 114 | + return temp_path($this->cachePathPrefix.'/'.$ident.'/'.$date.'.txt'); |
|
| 115 | 115 | } |
| 116 | 116 | |
| 117 | 117 | /** |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | */ |
| 122 | 122 | private function checkCacheFolder($ident) |
| 123 | 123 | { |
| 124 | - $cacheFolder = temp_path($this->cachePathPrefix . '/'); |
|
| 124 | + $cacheFolder = temp_path($this->cachePathPrefix.'/'); |
|
| 125 | 125 | if (!file_exists($cacheFolder)) { |
| 126 | 126 | mkdir($cacheFolder); |
| 127 | 127 | } |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | $ident = $this->undefinedFolderName; |
| 131 | 131 | } |
| 132 | 132 | |
| 133 | - $identFolder = temp_path($this->cachePathPrefix . '/' . $ident . '/'); |
|
| 133 | + $identFolder = temp_path($this->cachePathPrefix.'/'.$ident.'/'); |
|
| 134 | 134 | if (!file_exists($identFolder)) { |
| 135 | 135 | mkdir($identFolder); |
| 136 | 136 | } |