{"action":"opened","issue":{"url":"https://api.github.com/repos/Intervention/image/issues/320","labels_url":"https://api.github.com/repos/Intervention/image/issues/320/labels{/name}","comments_url":"https://api.github.com/repos/Intervention/image/issues/320/comments","events_url":"https://api.github.com/repos/Intervention/image/issues/320/events","html_url":"https://github.com/Intervention/image/issues/320","id":57398896,"number":320,"title":"Size::fitsInto does the opposite of what it should","user":{"login":"tocsick","id":778000,"avatar_url":"https://avatars.githubusercontent.com/u/778000?v=3","gravatar_id":"","url":"https://api.github.com/users/tocsick","html_url":"https://github.com/tocsick","followers_url":"https://api.github.com/users/tocsick/followers","following_url":"https://api.github.com/users/tocsick/following{/other_user}","gists_url":"https://api.github.com/users/tocsick/gists{/gist_id}","starred_url":"https://api.github.com/users/tocsick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tocsick/subscriptions","organizations_url":"https://api.github.com/users/tocsick/orgs","repos_url":"https://api.github.com/users/tocsick/repos","events_url":"https://api.github.com/users/tocsick/events{/privacy}","received_events_url":"https://api.github.com/users/tocsick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-12T00:17:39Z","updated_at":"2015-02-12T00:17:39Z","closed_at":null,"body":"The function Size::fitsInto actually does the exact opposite of what it should do which has some bump on effects on functions like Image::fit\r\n\r\nIt should be:\r\nreturn ($this->width >= $size->width) && ($this->height >= $size->height);\r\n\r\nNot:\r\nreturn ($this->width <= $size->width) && ($this->height <= $size->height);"}}