@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | public function findOneById($id) |
101 | 101 | { |
102 | 102 | |
103 | - $compiledUrl = $this->baseUrl . $id.'?includeMetrics=true'; |
|
103 | + $compiledUrl = $this->baseUrl . $id . '?includeMetrics=true'; |
|
104 | 104 | |
105 | 105 | $response = $this->client->request('GET', $compiledUrl); |
106 | 106 | |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | */ |
169 | 169 | public function getTrendByTrait($sid, \DateTime $startDate, \DateTime $endDate, $dayInterval = '1D') |
170 | 170 | { |
171 | - $cacheKey = self::CACHE_NAMESPACE . sha1($startDate->getTimestamp().$endDate->getTimestamp()); |
|
171 | + $cacheKey = self::CACHE_NAMESPACE . sha1($startDate->getTimestamp() . $endDate->getTimestamp()); |
|
172 | 172 | |
173 | 173 | if ($this->isCacheEnabled()) { |
174 | 174 | if ($this->cache->contains($cacheKey)) { |