{"action":"closed","issue":{"url":"https://api.github.com/repos/spatie/laravel-medialibrary/issues/52","labels_url":"https://api.github.com/repos/spatie/laravel-medialibrary/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/spatie/laravel-medialibrary/issues/52/comments","events_url":"https://api.github.com/repos/spatie/laravel-medialibrary/issues/52/events","html_url":"https://github.com/spatie/laravel-medialibrary/issues/52","id":102806084,"number":52,"title":"Update documentation","user":{"login":"BertKUL","id":9007370,"avatar_url":"https://avatars.githubusercontent.com/u/9007370?v=3","gravatar_id":"","url":"https://api.github.com/users/BertKUL","html_url":"https://github.com/BertKUL","followers_url":"https://api.github.com/users/BertKUL/followers","following_url":"https://api.github.com/users/BertKUL/following{/other_user}","gists_url":"https://api.github.com/users/BertKUL/gists{/gist_id}","starred_url":"https://api.github.com/users/BertKUL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BertKUL/subscriptions","organizations_url":"https://api.github.com/users/BertKUL/orgs","repos_url":"https://api.github.com/users/BertKUL/repos","events_url":"https://api.github.com/users/BertKUL/events{/privacy}","received_events_url":"https://api.github.com/users/BertKUL/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-24T14:24:57Z","updated_at":"2015-08-24T15:17:23Z","closed_at":"2015-08-24T15:17:23Z","body":"Please update the documentation in the section 'Basic usage'. I could not get my conversions to work because I used HasMedia instead of HasMediaConversions\r\n\r\n```php\r\nnamespace App\\Models;\r\n\r\nuse Spatie\\MediaLibrary\\HasMedia\\HasMediaTrait;\r\nuse Spatie\\MediaLibrary\\HasMedia\\Interfaces\\HasMedia;\r\n\r\nclass News extends Model implements HasMedia\r\n{\r\n\tuse HasMediaTrait;\r\n   ...\r\n}\r\n```\r\n\r\nIt should be this:\r\n\r\n```php\r\nnamespace App\\Models;\r\n\r\nuse Spatie\\MediaLibrary\\HasMedia\\HasMediaTrait;\r\nuse Spatie\\MediaLibrary\\HasMedia\\Interfaces\\HasMediaConversions;\r\n\r\nclass News extends Model implements HasMediaConversions\r\n{\r\n\tuse HasMediaTrait;\r\n   ...\r\n}\r\n```"}}