You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$httpAdapter = new \Ivory\HttpAdapter\FileGetContentsHttpAdapter();
// Create the Yahoo Finance provider
$yahooProvider = new \Swap\Provider\YahooFinanceProvider($httpAdapter);
// Create Swap with the provider
$swap = new \Swap\Swap($yahooProvider);
$rate = $swap->quote('EUR/USD');
Throws this error:
Catchable fatal error: Argument 2 passed to Swap\Model\Rate::__construct() must be an instance of DateTime, boolean given
The text was updated successfully, but these errors were encountered:
Using sample code:
Throws this error:
The text was updated successfully, but these errors were encountered: