{"action":"created","comment":{"url":"https://api.github.com/repos/lukepolo/laracart/pulls/comments/47905037","id":47905037,"diff_hunk":"@@ -388,6 +388,14 @@ public function addCoupon(CouponContract $coupon)\n      */\n     public function removeCoupon($code)\n     {\n+        foreach($this->getItems() as $item) {","path":"src/LaraCart.php","position":4,"original_position":4,"commit_id":"144720cfb707a32dc21800cdf9afc3541a1b58e1","original_commit_id":"144720cfb707a32dc21800cdf9afc3541a1b58e1","user":{"login":"Nitpick-CI","id":12626182,"avatar_url":"https://avatars.githubusercontent.com/u/12626182?v=3","gravatar_id":"","url":"https://api.github.com/users/Nitpick-CI","html_url":"https://github.com/Nitpick-CI","followers_url":"https://api.github.com/users/Nitpick-CI/followers","following_url":"https://api.github.com/users/Nitpick-CI/following{/other_user}","gists_url":"https://api.github.com/users/Nitpick-CI/gists{/gist_id}","starred_url":"https://api.github.com/users/Nitpick-CI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nitpick-CI/subscriptions","organizations_url":"https://api.github.com/users/Nitpick-CI/orgs","repos_url":"https://api.github.com/users/Nitpick-CI/repos","events_url":"https://api.github.com/users/Nitpick-CI/events{/privacy}","received_events_url":"https://api.github.com/users/Nitpick-CI/received_events","type":"User","site_admin":false},"body":"Expected 1 space after FOREACH keyword; 0 found","created_at":"2015-12-17T13:33:04Z","updated_at":"2015-12-17T13:33:04Z","html_url":"https://github.com/lukepolo/laracart/pull/33#discussion_r47905037","pull_request_url":"https://api.github.com/repos/lukepolo/laracart/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/lukepolo/laracart/pulls/comments/47905037"},"html":{"href":"https://github.com/lukepolo/laracart/pull/33#discussion_r47905037"},"pull_request":{"href":"https://api.github.com/repos/lukepolo/laracart/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/lukepolo/laracart/pulls/33","id":53976101,"html_url":"https://github.com/lukepolo/laracart/pull/33","diff_url":"https://github.com/lukepolo/laracart/pull/33.diff","patch_url":"https://github.com/lukepolo/laracart/pull/33.patch","issue_url":"https://api.github.com/repos/lukepolo/laracart/issues/33","number":33,"state":"open","locked":false,"title":"fixing issues with coupons","user":{"login":"lukepolo","id":2066668,"avatar_url":"https://avatars.githubusercontent.com/u/2066668?v=3","gravatar_id":"","url":"https://api.github.com/users/lukepolo","html_url":"https://github.com/lukepolo","followers_url":"https://api.github.com/users/lukepolo/followers","following_url":"https://api.github.com/users/lukepolo/following{/other_user}","gists_url":"https://api.github.com/users/lukepolo/gists{/gist_id}","starred_url":"https://api.github.com/users/lukepolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukepolo/subscriptions","organizations_url":"https://api.github.com/users/lukepolo/orgs","repos_url":"https://api.github.com/users/lukepolo/repos","events_url":"https://api.github.com/users/lukepolo/events{/privacy}","received_events_url":"https://api.github.com/users/lukepolo/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-17T13:32:57Z","updated_at":"2015-12-17T13:33:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7e7bd8deb3e28148a6536e2c1a8bbe92f1906de","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lukepolo/laracart/pulls/33/commits","review_comments_url":"https://api.github.com/repos/lukepolo/laracart/pulls/33/comments","review_comment_url":"https://api.github.com/repos/lukepolo/laracart/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lukepolo/laracart/issues/33/comments","statuses_url":"https://api.github.com/repos/lukepolo/laracart/statuses/144720cfb707a32dc21800cdf9afc3541a1b58e1","head":{"label":"lukepolo:dev","ref":"dev","sha":"144720cfb707a32dc21800cdf9afc3541a1b58e1","user":{"login":"lukepolo","id":2066668,"avatar_url":"https://avatars.githubusercontent.com/u/2066668?v=3","gravatar_id":"","url":"https://api.github.com/users/lukepolo","html_url":"https://github.com/lukepolo","followers_url":"https://api.github.com/users/lukepolo/followers","following_url":"https://api.github.com/users/lukepolo/following{/other_user}","gists_url":"https://api.github.com/users/lukepolo/gists{/gist_id}","starred_url":"https://api.github.com/users/lukepolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukepolo/subscriptions","organizations_url":"https://api.github.com/users/lukepolo/orgs","repos_url":"https://api.github.com/users/lukepolo/repos","events_url":"https://api.github.com/users/lukepolo/events{/privacy}","received_events_url":"https://api.github.com/users/lukepolo/received_events","type":"User","site_admin":false},"repo":{"id":37666866,"name":"laracart","full_name":"lukepolo/laracart","owner":{"login":"lukepolo","id":2066668,"avatar_url":"https://avatars.githubusercontent.com/u/2066668?v=3","gravatar_id":"","url":"https://api.github.com/users/lukepolo","html_url":"https://github.com/lukepolo","followers_url":"https://api.github.com/users/lukepolo/followers","following_url":"https://api.github.com/users/lukepolo/following{/other_user}","gists_url":"https://api.github.com/users/lukepolo/gists{/gist_id}","starred_url":"https://api.github.com/users/lukepolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukepolo/subscriptions","organizations_url":"https://api.github.com/users/lukepolo/orgs","repos_url":"https://api.github.com/users/lukepolo/repos","events_url":"https://api.github.com/users/lukepolo/events{/privacy}","received_events_url":"https://api.github.com/users/lukepolo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukepolo/laracart","description":"Laravel 5.1 Shopping Cart Package","fork":false,"url":"https://api.github.com/repos/lukepolo/laracart","forks_url":"https://api.github.com/repos/lukepolo/laracart/forks","keys_url":"https://api.github.com/repos/lukepolo/laracart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukepolo/laracart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukepolo/laracart/teams","hooks_url":"https://api.github.com/repos/lukepolo/laracart/hooks","issue_events_url":"https://api.github.com/repos/lukepolo/laracart/issues/events{/number}","events_url":"https://api.github.com/repos/lukepolo/laracart/events","assignees_url":"https://api.github.com/repos/lukepolo/laracart/assignees{/user}","branches_url":"https://api.github.com/repos/lukepolo/laracart/branches{/branch}","tags_url":"https://api.github.com/repos/lukepolo/laracart/tags","blobs_url":"https://api.github.com/repos/lukepolo/laracart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukepolo/laracart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukepolo/laracart/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukepolo/laracart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukepolo/laracart/statuses/{sha}","languages_url":"https://api.github.com/repos/lukepolo/laracart/languages","stargazers_url":"https://api.github.com/repos/lukepolo/laracart/stargazers","contributors_url":"https://api.github.com/repos/lukepolo/laracart/contributors","subscribers_url":"https://api.github.com/repos/lukepolo/laracart/subscribers","subscription_url":"https://api.github.com/repos/lukepolo/laracart/subscription","commits_url":"https://api.github.com/repos/lukepolo/laracart/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukepolo/laracart/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukepolo/laracart/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukepolo/laracart/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukepolo/laracart/contents/{+path}","compare_url":"https://api.github.com/repos/lukepolo/laracart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukepolo/laracart/merges","archive_url":"https://api.github.com/repos/lukepolo/laracart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukepolo/laracart/downloads","issues_url":"https://api.github.com/repos/lukepolo/laracart/issues{/number}","pulls_url":"https://api.github.com/repos/lukepolo/laracart/pulls{/number}","milestones_url":"https://api.github.com/repos/lukepolo/laracart/milestones{/number}","notifications_url":"https://api.github.com/repos/lukepolo/laracart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukepolo/laracart/labels{/name}","releases_url":"https://api.github.com/repos/lukepolo/laracart/releases{/id}","created_at":"2015-06-18T15:11:24Z","updated_at":"2015-12-14T19:42:14Z","pushed_at":"2015-12-17T13:32:58Z","git_url":"git://github.com/lukepolo/laracart.git","ssh_url":"git@github.com:lukepolo/laracart.git","clone_url":"https://github.com/lukepolo/laracart.git","svn_url":"https://github.com/lukepolo/laracart","homepage":"","size":172,"stargazers_count":11,"watchers_count":11,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":11,"default_branch":"master"}},"base":{"label":"lukepolo:master","ref":"master","sha":"ae89076c48f95988c68d3fa254c3505113a58fa6","user":{"login":"lukepolo","id":2066668,"avatar_url":"https://avatars.githubusercontent.com/u/2066668?v=3","gravatar_id":"","url":"https://api.github.com/users/lukepolo","html_url":"https://github.com/lukepolo","followers_url":"https://api.github.com/users/lukepolo/followers","following_url":"https://api.github.com/users/lukepolo/following{/other_user}","gists_url":"https://api.github.com/users/lukepolo/gists{/gist_id}","starred_url":"https://api.github.com/users/lukepolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukepolo/subscriptions","organizations_url":"https://api.github.com/users/lukepolo/orgs","repos_url":"https://api.github.com/users/lukepolo/repos","events_url":"https://api.github.com/users/lukepolo/events{/privacy}","received_events_url":"https://api.github.com/users/lukepolo/received_events","type":"User","site_admin":false},"repo":{"id":37666866,"name":"laracart","full_name":"lukepolo/laracart","owner":{"login":"lukepolo","id":2066668,"avatar_url":"https://avatars.githubusercontent.com/u/2066668?v=3","gravatar_id":"","url":"https://api.github.com/users/lukepolo","html_url":"https://github.com/lukepolo","followers_url":"https://api.github.com/users/lukepolo/followers","following_url":"https://api.github.com/users/lukepolo/following{/other_user}","gists_url":"https://api.github.com/users/lukepolo/gists{/gist_id}","starred_url":"https://api.github.com/users/lukepolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukepolo/subscriptions","organizations_url":"https://api.github.com/users/lukepolo/orgs","repos_url":"https://api.github.com/users/lukepolo/repos","events_url":"https://api.github.com/users/lukepolo/events{/privacy}","received_events_url":"https://api.github.com/users/lukepolo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lukepolo/laracart","description":"Laravel 5.1 Shopping Cart Package","fork":false,"url":"https://api.github.com/repos/lukepolo/laracart","forks_url":"https://api.github.com/repos/lukepolo/laracart/forks","keys_url":"https://api.github.com/repos/lukepolo/laracart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lukepolo/laracart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lukepolo/laracart/teams","hooks_url":"https://api.github.com/repos/lukepolo/laracart/hooks","issue_events_url":"https://api.github.com/repos/lukepolo/laracart/issues/events{/number}","events_url":"https://api.github.com/repos/lukepolo/laracart/events","assignees_url":"https://api.github.com/repos/lukepolo/laracart/assignees{/user}","branches_url":"https://api.github.com/repos/lukepolo/laracart/branches{/branch}","tags_url":"https://api.github.com/repos/lukepolo/laracart/tags","blobs_url":"https://api.github.com/repos/lukepolo/laracart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lukepolo/laracart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lukepolo/laracart/git/refs{/sha}","trees_url":"https://api.github.com/repos/lukepolo/laracart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lukepolo/laracart/statuses/{sha}","languages_url":"https://api.github.com/repos/lukepolo/laracart/languages","stargazers_url":"https://api.github.com/repos/lukepolo/laracart/stargazers","contributors_url":"https://api.github.com/repos/lukepolo/laracart/contributors","subscribers_url":"https://api.github.com/repos/lukepolo/laracart/subscribers","subscription_url":"https://api.github.com/repos/lukepolo/laracart/subscription","commits_url":"https://api.github.com/repos/lukepolo/laracart/commits{/sha}","git_commits_url":"https://api.github.com/repos/lukepolo/laracart/git/commits{/sha}","comments_url":"https://api.github.com/repos/lukepolo/laracart/comments{/number}","issue_comment_url":"https://api.github.com/repos/lukepolo/laracart/issues/comments{/number}","contents_url":"https://api.github.com/repos/lukepolo/laracart/contents/{+path}","compare_url":"https://api.github.com/repos/lukepolo/laracart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lukepolo/laracart/merges","archive_url":"https://api.github.com/repos/lukepolo/laracart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lukepolo/laracart/downloads","issues_url":"https://api.github.com/repos/lukepolo/laracart/issues{/number}","pulls_url":"https://api.github.com/repos/lukepolo/laracart/pulls{/number}","milestones_url":"https://api.github.com/repos/lukepolo/laracart/milestones{/number}","notifications_url":"https://api.github.com/repos/lukepolo/laracart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lukepolo/laracart/labels{/name}","releases_url":"https://api.github.com/repos/lukepolo/laracart/releases{/id}","created_at":"2015-06-18T15:11:24Z","updated_at":"2015-12-14T19:42:14Z","pushed_at":"2015-12-17T13:32:58Z","git_url":"git://github.com/lukepolo/laracart.git","ssh_url":"git@github.com:lukepolo/laracart.git","clone_url":"https://github.com/lukepolo/laracart.git","svn_url":"https://github.com/lukepolo/laracart","homepage":"","size":172,"stargazers_count":11,"watchers_count":11,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lukepolo/laracart/pulls/33"},"html":{"href":"https://github.com/lukepolo/laracart/pull/33"},"issue":{"href":"https://api.github.com/repos/lukepolo/laracart/issues/33"},"comments":{"href":"https://api.github.com/repos/lukepolo/laracart/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/lukepolo/laracart/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/lukepolo/laracart/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lukepolo/laracart/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/lukepolo/laracart/statuses/144720cfb707a32dc21800cdf9afc3541a1b58e1"}}}}