Test Failed
Pull Request — master (#14)
by
unknown
13:32
created
src/Controller/Component/CurrencyConverterComponent.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      * @param float|string $amount the amount to convert.
62 62
      * @param string $from currency to convert from
63 63
      * @param string $to currency to convert to
64
-     * @return float $amount converted
64
+     * @return string $amount converted
65 65
      */
66 66
     public function convert($amount, $from, $to)
67 67
     {
@@ -128,7 +128,8 @@  discard block
 block discarded – undo
128 128
     /**
129 129
      * Format float number using configuration
130 130
      *
131
-     * @return floatval
131
+     * @param double $number
132
+     * @return string
132 133
      */
133 134
     private function _formatConvert($number)
134 135
     {
Please login to merge, or discard this patch.
src/View/Helper/CurrencyConverterHelper.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,10 +48,10 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * Convert method take an amount as first parameter and convert it using $from currency and $to currency.
50 50
      *
51
-     * @param float|string $amount the amount to convert.
51
+     * @param double $amount the amount to convert.
52 52
      * @param string $from currency to convert from
53 53
      * @param string $to currency to convert to
54
-     * @return float $amount converted
54
+     * @return string $amount converted
55 55
      */
56 56
     public function convert($amount, $from, $to)
57 57
     {
@@ -118,7 +118,8 @@  discard block
 block discarded – undo
118 118
     /**
119 119
      * Format float number using configuration
120 120
      *
121
-     * @return floatval
121
+     * @param double $number
122
+     * @return string
122 123
      */
123 124
     private function _formatConvert($number)
124 125
     {
Please login to merge, or discard this patch.