Skip to content

Commit a4c08e0

Browse files
author
Cédric Girard
committedJan 20, 2016
fixed initialize property value
1 parent 745b6dc commit a4c08e0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎Adapter/DoctrineCurrencyAdapter.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class DoctrineCurrencyAdapter extends AbstractCurrencyAdapter
1212
{
1313
/**
14-
* @var ObjectManager
14+
* @var EntityManager
1515
*/
1616
private $manager;
1717

@@ -79,7 +79,7 @@ private function isInitialized()
7979
}
8080

8181
/**
82-
* @throws Exception
82+
* @throws \Exception
8383
*/
8484
private function initialize()
8585
{
@@ -94,5 +94,7 @@ private function initialize()
9494
foreach ($currencies as $currency) {
9595
$this[$currency->getCode()] = $currency;
9696
}
97+
98+
$this->initialized = true;
9799
}
98100
}

0 commit comments

Comments
 (0)
Please sign in to comment.