@@ -13,10 +13,8 @@ |
||
13 | 13 | |
14 | 14 | use ONGR\CurrencyExchangeBundle\Exception\UndefinedCurrencyException; |
15 | 15 | use ONGR\CurrencyExchangeBundle\Service\CurrencyExchangeService; |
16 | -use ONGR\CurrencyExchangeBundle\Tests\Unit\DependencyInjection\ONGRCurrencyExchangeExtensionTest; |
|
17 | 16 | use Psr\Log\LoggerAwareInterface; |
18 | 17 | use Psr\Log\LoggerAwareTrait; |
19 | -use Psr\Log\LoggerInterface; |
|
20 | 18 | |
21 | 19 | /** |
22 | 20 | * Class for displaying changed currencies. |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
56 | - * @return Collection |
|
56 | + * @return RatesObject |
|
57 | 57 | */ |
58 | 58 | public function getRates() |
59 | 59 | { |
@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | } |
78 | 78 | |
79 | 79 | /** |
80 | - * @return string |
|
80 | + * @return \DateTime |
|
81 | 81 | */ |
82 | 82 | public function getDate() |
83 | 83 | { |
@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | private $url; |
30 | 30 | |
31 | 31 | /** |
32 | - * @param null|Client $httpClient |
|
32 | + * @param Client $httpClient |
|
33 | 33 | * @param string $url |
34 | 34 | */ |
35 | 35 | public function __construct(Client $httpClient, $url) |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | /** |
42 | 42 | * Downloads raw currency data. |
43 | 43 | * |
44 | - * @return array |
|
44 | + * @return \SimpleXMLElement |
|
45 | 45 | */ |
46 | 46 | private function getRawData() |
47 | 47 | { |