Completed
Pull Request — master (#2)
by Maxime
02:23
created
src/Service/ConsulEnvManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace DL\ConsulPhpEnvVar\Service;
5 5
 
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
             try {
58 58
                 $consulValue = $this->getKeyValueFromConsul($consulPath);
59
-            } catch(ClientException $e) {
59
+            } catch (ClientException $e) {
60 60
                 if ($e->getCode() !== 404 || !isset($defaults[$environmentKey])) {
61 61
                     throw new NullValueException(
62 62
                         sprintf('Impossible to find value for key %s in consul or as default value.', $environmentKey),
Please login to merge, or discard this patch.