{"action":"opened","issue":{"url":"https://api.github.com/repos/chrishemmings/oauth2-drupal/issues/2","repository_url":"https://api.github.com/repos/chrishemmings/oauth2-drupal","labels_url":"https://api.github.com/repos/chrishemmings/oauth2-drupal/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/chrishemmings/oauth2-drupal/issues/2/comments","events_url":"https://api.github.com/repos/chrishemmings/oauth2-drupal/issues/2/events","html_url":"https://github.com/chrishemmings/oauth2-drupal/issues/2","id":138716931,"number":2,"title":"DrupalResourceOwner should be more strict","user":{"login":"shadowhand","id":38203,"avatar_url":"https://avatars.githubusercontent.com/u/38203?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowhand","html_url":"https://github.com/shadowhand","followers_url":"https://api.github.com/users/shadowhand/followers","following_url":"https://api.github.com/users/shadowhand/following{/other_user}","gists_url":"https://api.github.com/users/shadowhand/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowhand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowhand/subscriptions","organizations_url":"https://api.github.com/users/shadowhand/orgs","repos_url":"https://api.github.com/users/shadowhand/repos","events_url":"https://api.github.com/users/shadowhand/events{/privacy}","received_events_url":"https://api.github.com/users/shadowhand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-05T20:20:36Z","updated_at":"2016-03-05T20:20:36Z","closed_at":null,"body":"The current implementation of `DrupalResourceOwner::__construct` allows any value to be passed (and is missing a type hint) but appears to expect an array to be used. The constructor should type hint an `array` to be more consistent."}}