From 0cdf6737f66c766f88ff05aac83749de5380af7f Mon Sep 17 00:00:00 2001 From: Ed Linklater Date: Mon, 30 Oct 2017 11:01:37 +1300 Subject: [PATCH] Fix incorrect example code in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 55ca636..5870076 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ various common YouTube URL formats and converts them for storage in database as 'VideoID' => 'Varchar(11)', ); - public static getCMSFields() { + public function getCMSFields() { $fields = parent::getCMSFields(); $fields->addFieldToTab('Root.Main', new YouTubeField('VideoID', 'YouTube Video')); return $fields;