@@ -3,7 +3,7 @@ discard block |
||
| 3 | 3 | * This file contains only the ProjectRepository class. |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | -declare(strict_types = 1); |
|
| 6 | +declare(strict_types=1); |
|
| 7 | 7 | |
| 8 | 8 | namespace AppBundle\Repository; |
| 9 | 9 | |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | || $projMetadata['url'] == "https://$project" |
| 167 | 167 | || $projMetadata['url'] == "https://$project.org" |
| 168 | 168 | || $projMetadata['url'] == "https://www.$project") { |
| 169 | - $this->log->debug(__METHOD__ . " Using cached data for $project"); |
|
| 169 | + $this->log->debug(__METHOD__." Using cached data for $project"); |
|
| 170 | 170 | return $projMetadata; |
| 171 | 171 | } |
| 172 | 172 | } |
@@ -310,7 +310,7 @@ discard block |
||
| 310 | 310 | $optedIn = $this->container->getParameter('opted_in'); |
| 311 | 311 | // In case there's just one given. |
| 312 | 312 | if (!is_array($optedIn)) { |
| 313 | - $optedIn = [ $optedIn ]; |
|
| 313 | + $optedIn = [$optedIn]; |
|
| 314 | 314 | } |
| 315 | 315 | return $optedIn; |
| 316 | 316 | } |
@@ -378,7 +378,7 @@ discard block |
||
| 378 | 378 | ]])->getBody()->getContents(), true); |
| 379 | 379 | |
| 380 | 380 | $extensions = $res['query']['extensions'] ?? []; |
| 381 | - return array_map(function ($extension) { |
|
| 381 | + return array_map(function($extension) { |
|
| 382 | 382 | return $extension['name']; |
| 383 | 383 | }, $extensions); |
| 384 | 384 | } |