@@ -34,7 +34,7 @@ |
||
| 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, |
@@ -5,7 +5,6 @@ |
||
| 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 | { |