From 302b939fad01f2aab83151f3a17b7f65214ed84e Mon Sep 17 00:00:00 2001 From: florianv Date: Sun, 9 Oct 2016 10:32:13 +0200 Subject: [PATCH] Updated doc --- README.md | 2 +- doc/readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5a25158..75c4cae 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ $rate->getValue(); $rate->getDate()->format('Y-m-d'); // Get the EUR/USD rate yesterday -$rate = Swap::historical('EUR/USD', Carbon::yesterday()); +$rate = Swap::historical('EUR/USD', Carbon\Carbon::yesterday()); ``` ## Documentation diff --git a/doc/readme.md b/doc/readme.md index 6d99a16..c668b19 100644 --- a/doc/readme.md +++ b/doc/readme.md @@ -77,7 +77,7 @@ $rate->getValue(); $rate->getDate()->format('Y-m-d'); // Get the EUR/USD rate yesterday -$rate = Swap::historical('EUR/USD', Carbon::yesterday()); +$rate = Swap::historical('EUR/USD', Carbon\Carbon::yesterday()); ``` ## Cache