Completed
Push — master ( 4684d1...8012f1 )
by Hugo
13s queued 11s
created
src/DependencyInjection/WannaSpeakExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $configuration = new Configuration();
24 24
         $config        = $this->processConfiguration($configuration, $configs);
25 25
 
26
-        $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
26
+        $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
27 27
         $loader->load('services.xml');
28 28
 
29 29
         $container->setParameter('wanna_speak.api.account_id', $config['api']['credentials']['account_id']);
Please login to merge, or discard this patch.
src/Api/Statistics.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
             'destination' => $phoneDest,
89 89
             'tag1'        => $platformId,
90 90
             'tag2'        => $siteId,
91
-            'tag3'        => (true === $callerId) ? 'callerid:'.$phoneDid : '',
91
+            'tag3'        => (true === $callerId) ? 'callerid:' . $phoneDid : '',
92 92
             'did'         => $phoneDid,
93 93
             'name'        => $name,
94 94
         ];
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
             ],
295 295
         ];
296 296
 
297
-        $boundary      = '--------------------------'.microtime(true);
297
+        $boundary      = '--------------------------' . microtime(true);
298 298
         $streamFactory = Psr17FactoryDiscovery::findStreamFactory();
299 299
 
300 300
         $builder = new MultipartStreamBuilder($streamFactory);
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
         $builder->addResource('sound', $streamFactory->createStreamFromFile($path, 'rb'), $options);
303 303
         $body = $builder->build();
304 304
 
305
-        $headers = ['Content-Type' => 'multipart/form-data; boundary="'.$boundary.'"'];
305
+        $headers = ['Content-Type' => 'multipart/form-data; boundary="' . $boundary . '"'];
306 306
 
307 307
         $response = $this->httpClient->createAndSendRequest($args, $headers, $body);
308 308
         $data     = $this->processResponse($response);
Please login to merge, or discard this patch.