Completed
Pull Request — master (#15)
by Andreu
14:26
created
src/MoneyFactoriesLocator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Adsmurai\Currency;
6 6
 
@@ -23,13 +23,13 @@  discard block
 block discarded – undo
23 23
 
24 24
     public function getMoneyFactory(string $isoCode): MoneyFactoryInterface
25 25
     {
26
-        if (!isset($this->currencyFactories[$isoCode])) {
27
-            $this->currencyFactories[$isoCode] = new MoneyFactory(
26
+        if (!isset($this->currencyFactories[ $isoCode ])) {
27
+            $this->currencyFactories[ $isoCode ] = new MoneyFactory(
28 28
                 $this->currencyTypeFactory->buildFromISOCode($isoCode)
29 29
             );
30 30
         }
31 31
 
32
-        return $this->currencyFactories[$isoCode];
32
+        return $this->currencyFactories[ $isoCode ];
33 33
     }
34 34
 
35 35
     /** @return string[] */
Please login to merge, or discard this patch.