Completed
Push — master ( 0bac99...4f0339 )
by BENOIT
15:30
created
src/Cache/ArrayCache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
     }
123 123
 
124 124
     /**
125
-     * @param $key
125
+     * @param string $key
126 126
      * @return bool
127 127
      */
128 128
     private function isExpired($key): bool
Please login to merge, or discard this patch.
src/Provider/EuropeanCentralBankProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
 
111 111
 
112 112
     /**
113
-     * @param DateTimeInterface|null $date
113
+     * @param DateTimeInterface $date
114 114
      * @return string
115 115
      */
116 116
     private function pickUrl(DateTimeInterface $date): string
Please login to merge, or discard this patch.
src/Provider/AverageExchangeRateProvider.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,6 @@
 block discarded – undo
94 94
     }
95 95
 
96 96
     /**
97
-     * @param array $array
98 97
      * @return float
99 98
      */
100 99
     private static function getAverageRatio(ExchangeRateInterface ...$exchangeRates): float
Please login to merge, or discard this patch.
src/Converter/CurrencyConverter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -16,6 +16,7 @@
 block discarded – undo
16 16
     /**
17 17
      * CurrencyConverter constructor.
18 18
      * @param ExchangeRateInterface[] ...$exchangeRates
19
+     * @param \BenTools\Currency\Model\ExchangeRate $exchangeRates
19 20
      */
20 21
     public function __construct(ExchangeRateInterface ...$exchangeRates)
21 22
     {
Please login to merge, or discard this patch.
tests/Provider/DoctrineORMProviderTest.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -48,8 +48,8 @@  discard block
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-     * @param null                    $sourceCurrencyCode
52
-     * @param null                    $targetCurrencyCode
51
+     * @param string                    $sourceCurrencyCode
52
+     * @param string                    $targetCurrencyCode
53 53
      * @param float|null              $ratio
54 54
      * @param \DateTimeInterface|null $day
55 55
      * @return ExchangeRateInterface
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
 
65 65
                 /**
66 66
                  *  constructor.
67
-                 * @param CurrencyInterface       $sourceCurrency
68
-                 * @param CurrencyInterface       $targetCurrency
67
+                 * @param CurrencyInterface       $sourceCurrencyCode
68
+                 * @param CurrencyInterface       $targetCurrencyCode
69 69
                  * @param float                   $ratio
70 70
                  * @param \DateTimeInterface|null $day
71 71
                  */
Please login to merge, or discard this patch.