@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | || $projMetadata['url'] == "https://$project" |
149 | 149 | || $projMetadata['url'] == "https://$project.org" |
150 | 150 | || $projMetadata['url'] == "https://www.$project") { |
151 | - $this->log->debug(__METHOD__ . " Using cached data for $project"); |
|
151 | + $this->log->debug(__METHOD__." Using cached data for $project"); |
|
152 | 152 | return $projMetadata; |
153 | 153 | } |
154 | 154 | } |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | } |
205 | 205 | |
206 | 206 | // Redis cache |
207 | - $cacheKey = "projectMetadata." . preg_replace("/[^A-Za-z0-9]/", '', $projectUrl); |
|
207 | + $cacheKey = "projectMetadata.".preg_replace("/[^A-Za-z0-9]/", '', $projectUrl); |
|
208 | 208 | if ($this->cache->hasItem($cacheKey)) { |
209 | 209 | $this->metadata = $this->cache->getItem($cacheKey)->get(); |
210 | 210 | return $this->metadata; |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | $optedIn = $this->container->getParameter('opted_in'); |
285 | 285 | // In case there's just one given. |
286 | 286 | if (!is_array($optedIn)) { |
287 | - $optedIn = [ $optedIn ]; |
|
287 | + $optedIn = [$optedIn]; |
|
288 | 288 | } |
289 | 289 | return $optedIn; |
290 | 290 | } |