| @@ -22,7 +22,7 @@ | ||
| 22 | 22 | $configuration = new Configuration(); | 
| 23 | 23 | $config = $this->processConfiguration($configuration, $configs); | 
| 24 | 24 | |
| 25 | - $loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); | |
| 25 | + $loader = new Loader\PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); | |
| 26 | 26 |          $loader->load('services.php'); | 
| 27 | 27 | |
| 28 | 28 |          $container->setParameter('wanna_speak.api.account_id', $config['api']['credentials']['account_id']); | 
| @@ -4,7 +4,7 @@ discard block | ||
| 4 | 4 | |
| 5 | 5 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; | 
| 6 | 6 | |
| 7 | -return static function (ContainerConfigurator $containerConfigurator): void { | |
| 7 | +return static function(ContainerConfigurator $containerConfigurator): void { | |
| 8 | 8 | $services = $containerConfigurator->services(); | 
| 9 | 9 | |
| 10 | 10 | $services->defaults() | 
| @@ -12,12 +12,12 @@ discard block | ||
| 12 | 12 | ->autowire() | 
| 13 | 13 | ->autoconfigure(); | 
| 14 | 14 | |
| 15 | -    $services->load('Yproximite\WannaSpeakBundle\\', __DIR__.'/../..') | |
| 15 | +    $services->load('Yproximite\WannaSpeakBundle\\', __DIR__ . '/../..') | |
| 16 | 16 | ->exclude([ | 
| 17 | - __DIR__.'/../../DependencyInjection', | |
| 18 | - __DIR__.'/../../Exception', | |
| 19 | - __DIR__.'/../../Resources', | |
| 20 | - __DIR__.'/../../WannaSpeakBundle.php', | |
| 17 | + __DIR__ . '/../../DependencyInjection', | |
| 18 | + __DIR__ . '/../../Exception', | |
| 19 | + __DIR__ . '/../../Resources', | |
| 20 | + __DIR__ . '/../../WannaSpeakBundle.php', | |
| 21 | 21 | ]); | 
| 22 | 22 | |
| 23 | 23 | $services->get(\Yproximite\WannaSpeakBundle\HttpClient::class) | 
| @@ -9,7 +9,7 @@ | ||
| 9 | 9 | trait HttpClientTestTrait | 
| 10 | 10 |  { | 
| 11 | 11 | /** | 
| 12 | - * @param callable|callable[]|ResponseInterface|ResponseInterface[]|iterable|null $responseFactory | |
| 12 | + * @param null|\Symfony\Component\HttpClient\Response\MockResponse $responseFactory | |
| 13 | 13 | */ | 
| 14 | 14 | public function createHttpClient($responseFactory = null, bool $test = false): HttpClient | 
| 15 | 15 |      { | 
| @@ -76,7 +76,7 @@ | ||
| 76 | 76 |      { | 
| 77 | 77 | $timeStamp = time(); | 
| 78 | 78 | |
| 79 | - return $timeStamp.'-'.md5($this->accountId.$timeStamp.$this->secretKey); | |
| 79 | + return $timeStamp . '-' . md5($this->accountId . $timeStamp . $this->secretKey); | |
| 80 | 80 | } | 
| 81 | 81 | |
| 82 | 82 | /** | 
| @@ -22,7 +22,6 @@ | ||
| 22 | 22 | public const CODE_UNKNOWN_ERROR = -1; // when WannaSpeak returns a string for "error" | 
| 23 | 23 | |
| 24 | 24 | /** | 
| 25 | - * @param array<string,mixed> $arguments Additional WannaSpeak request arguments | |
| 26 | 25 | * | 
| 27 | 26 | * @throws TestModeException | 
| 28 | 27 | */ |