Completed
Pull Request — master (#1)
by Vojta
07:24
created
services/BaseService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,10 +67,10 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
providers/CnbDataProvider.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
         }
Please login to merge, or discard this patch.