Passed
Pull Request — master (#10)
by Alessandro
02:19
created
src/Controller/Component/CurrencyConverterComponent.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      * @param boolean $saveIntoDb if develop wants to store convertion rate for use it without resending data to yahoo service.
35 35
      * @param int $hourDifference the hour difference to check if the last convertion is passed, if yes make a new call to yahoo finance api.
36 36
      * @param string $dataSource which dataSOurce need to use
37
-     * @return float the total amount converted into the new currency
37
+     * @return string the total amount converted into the new currency
38 38
      */
39 39
     public function convert(
40 40
         $fromCurrency, 
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Cake\Controller\Component;
6 6
 use Cake\Datasource\ConnectionManager;
7 7
 use Cake\ORM\TableRegistry;
8
-use Cake\Database\Schema\TableSchema;
9 8
 
10 9
 class CurrencyConverterComponent extends Component
11 10
 {
Please login to merge, or discard this patch.