{"action":"created","issue":{"url":"https://api.github.com/repos/analogueorm/analogue/issues/135","repository_url":"https://api.github.com/repos/analogueorm/analogue","labels_url":"https://api.github.com/repos/analogueorm/analogue/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/analogueorm/analogue/issues/135/comments","events_url":"https://api.github.com/repos/analogueorm/analogue/issues/135/events","html_url":"https://github.com/analogueorm/analogue/issues/135","id":179028072,"number":135,"title":"ErrorException in EntityCollection.php line 405","user":{"login":"Nyorai","id":1931344,"avatar_url":"https://avatars.githubusercontent.com/u/1931344?v=3","gravatar_id":"","url":"https://api.github.com/users/Nyorai","html_url":"https://github.com/Nyorai","followers_url":"https://api.github.com/users/Nyorai/followers","following_url":"https://api.github.com/users/Nyorai/following{/other_user}","gists_url":"https://api.github.com/users/Nyorai/gists{/gist_id}","starred_url":"https://api.github.com/users/Nyorai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nyorai/subscriptions","organizations_url":"https://api.github.com/users/Nyorai/orgs","repos_url":"https://api.github.com/users/Nyorai/repos","events_url":"https://api.github.com/users/Nyorai/events{/privacy}","received_events_url":"https://api.github.com/users/Nyorai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-24T12:34:43Z","updated_at":"2016-09-26T08:38:58Z","closed_at":null,"body":"I get the following error when using 5.3-dev with Laravel 5.3\r\n\r\n````\r\nErrorException in EntityCollection.php line 405: Declaration of Analogue\\ORM\\EntityCollection::unique($key = NULL) should be compatible with Illuminate\\Support\\Collection::unique($key = NULL, $strict = false)\r\n````\r\n\r\nChanging the declaration of unique to:\r\n\r\n````\r\npublic function unique($key = null, $strict = false)\r\n````\r\n\r\nFixes this for me, but not sure if it would cause any other issues."},"comment":{"url":"https://api.github.com/repos/analogueorm/analogue/issues/comments/249511523","html_url":"https://github.com/analogueorm/analogue/issues/135#issuecomment-249511523","issue_url":"https://api.github.com/repos/analogueorm/analogue/issues/135","id":249511523,"user":{"login":"RemiCollin","id":9589616,"avatar_url":"https://avatars.githubusercontent.com/u/9589616?v=3","gravatar_id":"","url":"https://api.github.com/users/RemiCollin","html_url":"https://github.com/RemiCollin","followers_url":"https://api.github.com/users/RemiCollin/followers","following_url":"https://api.github.com/users/RemiCollin/following{/other_user}","gists_url":"https://api.github.com/users/RemiCollin/gists{/gist_id}","starred_url":"https://api.github.com/users/RemiCollin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RemiCollin/subscriptions","organizations_url":"https://api.github.com/users/RemiCollin/orgs","repos_url":"https://api.github.com/users/RemiCollin/repos","events_url":"https://api.github.com/users/RemiCollin/events{/privacy}","received_events_url":"https://api.github.com/users/RemiCollin/received_events","type":"User","site_admin":false},"created_at":"2016-09-26T08:38:58Z","updated_at":"2016-09-26T08:38:58Z","body":"I just merged a PR which fixes this. Can you confirm this works ?"}}
{"actor":{"display_login":"RemiCollin"}}