From a5043123ce9d9c31fe25b815715b8d05f8cf4600 Mon Sep 17 00:00:00 2001 From: 3Dgoo Date: Fri, 21 Aug 2015 10:18:40 +0930 Subject: [PATCH] StringTagField documentation fix Fixed incorrect StringTagField documentation example. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1c5b0eb..7b49422 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,8 @@ class BlogPost extends DataObject { ``` ```php -$field = StringTagField::create( - 'BlogTags', 'Blog Tags', array('one', 'two'), explode(',', $post->Tags) +$field = StringTagField::create( + 'Tags', 'Tags', array('one', 'two'), explode(',', this->Tags) ); $field->setShouldLazyLoad(true); // tags should be lazy loaded