From 77cb754132a2a72bd7f1b62322d13bd92a62ea42 Mon Sep 17 00:00:00 2001 From: Vladislav Otchenashev Date: Mon, 7 May 2018 21:37:33 +0300 Subject: [PATCH] Fix typo Though "pomocode" sounds cool --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 15b1471..1138d7f 100644 --- a/README.md +++ b/README.md @@ -196,7 +196,7 @@ Promocodes::create(1, 25, ['foo' => 'bar', 'baz' => 'qux']); ```php Promocodes::redeem('ABC-DEF', function($promocode) { - echo $pomocode->data['foo']; + echo $promocode->data['foo']; }); // bar @@ -206,7 +206,7 @@ or ```php User::redeemCode('ABC-DEF', function($promocode) { - echo $pomocode->data['foo']; + echo $promocode->data['foo']; }); // bar