{"action":"created","comment":{"url":"https://api.github.com/repos/lukepolo/laracart/pulls/comments/52717196","id":52717196,"diff_hunk":"@@ -483,16 +486,20 @@ public function total($format = true, $withDiscount = true)\n      *\n      * @param boolean $format\n      * @param boolean $withDiscount\n+     * @param boolean $withTax\n      *\n      * @return string\n      */\n-    public function subTotal($format = true, $withDiscount = true)\n+    public function subTotal($format = true, $withDiscount = true, $withTax = false)","path":"src/LaraCart.php","position":53,"original_position":53,"commit_id":"49140255366df839814d2372ced863903d6c112a","original_commit_id":"ecdf21c244908b8d9169f06b048606869cfc5824","user":{"login":"tyloo","id":611035,"avatar_url":"https://avatars.githubusercontent.com/u/611035?v=3","gravatar_id":"","url":"https://api.github.com/users/tyloo","html_url":"https://github.com/tyloo","followers_url":"https://api.github.com/users/tyloo/followers","following_url":"https://api.github.com/users/tyloo/following{/other_user}","gists_url":"https://api.github.com/users/tyloo/gists{/gist_id}","starred_url":"https://api.github.com/users/tyloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyloo/subscriptions","organizations_url":"https://api.github.com/users/tyloo/orgs","repos_url":"https://api.github.com/users/tyloo/repos","events_url":"https://api.github.com/users/tyloo/events{/privacy}","received_events_url":"https://api.github.com/users/tyloo/received_events","type":"User","site_admin":false},"body":"Hmm indeed, you are right :)","created_at":"2016-02-12T08:53:43Z","updated_at":"2016-02-12T08:53:43Z","html_url":"https://github.com/lukepolo/laracart/pull/81#discussion_r52717196","pull_request_url":"https://api.github.com/repos/lukepolo/laracart/pulls/81","_links":{"self":{"href":"https://api.github.com/repos/lukepolo/laracart/pulls/comments/52717196"},"html":{"href":"https://github.com/lukepolo/laracart/pull/81#discussion_r52717196"},"pull_request":{"href":"https://api.github.com/repos/lukepolo/laracart/pulls/81"}}},"pull_request":{"url":"https://api.github.com/repos/lukepolo/laracart/pulls/81","id":59066482,"html_url":"https://github.com/lukepolo/laracart/pull/81","diff_url":"https://github.com/lukepolo/laracart/pull/81.diff","patch_url":"https://github.com/lukepolo/laracart/pull/81.patch","issue_url":"https://api.github.com/repos/lukepolo/laracart/issues/81","number":81,"state":"open","locked":false,"title":"Handled tax calculation fixes","user":{"login":"tyloo","id":611035,"avatar_url":"https://avatars.githubusercontent.com/u/611035?v=3","gravatar_id":"","url":"https://api.github.com/users/tyloo","html_url":"https://github.com/tyloo","followers_url":"https://api.github.com/users/tyloo/followers","following_url":"https://api.github.com/users/tyloo/following{/other_user}","gists_url":"https://api.github.com/users/tyloo/gists{/gist_id}","starred_url":"https://api.github.com/users/tyloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyloo/subscriptions","organizations_url":"https://api.github.com/users/tyloo/orgs","repos_url":"https://api.github.com/users/tyloo/repos","events_url":"https://api.github.com/users/tyloo/events{/privacy}","received_events_url":"https://api.github.com/users/tyloo/received_events","type":"User","site_admin":false},"body":"Hey ;)\r\n\r\nI have this fresh PR for you, and added some more things in it.\r\nFeel free to read the updated documentation on README and I advice you to tag it 1.2.0 ;)\r\n\r\nI'm here if you have some feedbacks.\r\n\r\nCheers!","created_at":"2016-02-11T17:37:50Z","updated_at":"2016-02-12T08:53:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a6bc346061860babb4ebe769eb40b262325bdae","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lukepolo/laracart/pulls/81/commits","review_comments_url":"https://api.github.com/repos/lukepolo/laracart/pulls/81/comments","review_comment_url":"https://api.github.com/repos/lukepolo/laracart/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lukepolo/laracart/issues/81/comments","statuses_url":"https://api.github.com/repos/lukepolo/laracart/statuses/49140255366df839814d2372ced863903d6c112a","head":{"label":"tyloo:master","ref":"master","sha":"49140255366df839814d2372ced863903d6c112a","user":{"login":"tyloo","id":611035,"avatar_url":"https://avatars.githubusercontent.com/u/611035?v=3","gravatar_id":"","url":"https://api.github.com/users/tyloo","html_url":"https://github.com/tyloo","followers_url":"https://api.github.com/users/tyloo/followers","following_url":"https://api.github.com/users/tyloo/following{/other_user}","gists_url":"https://api.github.com/users/tyloo/gists{/gist_id}","starred_url":"https://api.github.com/users/tyloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyloo/subscriptions","organizations_url":"https://api.github.com/users/tyloo/orgs","repos_url":"https://api.github.com/users/tyloo/repos","events_url":"https://api.github.com/users/tyloo/events{/privacy}","received_events_url":"https://api.github.com/users/tyloo/received_events","type":"User","site_admin":false},"repo":{"id":51524252,"name":"laracart","full_name":"tyloo/laracart","owner":{"login":"tyloo","id":611035,"avatar_url":"https://avatars.githubusercontent.com/u/611035?v=3","gravatar_id":"","url":"https://api.github.com/users/tyloo","html_url":"https://github.com/tyloo","followers_url":"https://api.github.com/users/tyloo/followers","following_url":"https://api.github.com/users/tyloo/following{/other_user}","gists_url":"https://api.github.com/users/tyloo/gists{/gist_id}","starred_url":"https://api.github.com/users/tyloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyloo/subscriptions","organizations_url":"https://api.github.com/users/tyloo/orgs","repos_url":"https://api.github.com/users/tyloo/repos","events_url":"https://api.github.com/users/tyloo/events{/privacy}","received_events_url":"https://api.github.com/users/tyloo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tyloo/laracart","description":"Laravel Shopping Cart Package","fork":true,"url":"https://api.github.com/repos/tyloo/laracart","forks_url":"https://api.github.com/repos/tyloo/laracart/forks","keys_url":"https://api.github.com/repos/tyloo/laracart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tyloo/laracart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tyloo/laracart/teams","hooks_url":"https://api.github.com/repos/tyloo/laracart/hooks","issue_events_url":"https://api.github.com/repos/tyloo/laracart/issues/events{/number}","events_url":"https://api.github.com/repos/tyloo/laracart/events","assignees_url":"https://api.github.com/repos/tyloo/laracart/assignees{/user}","branches_url":"https://api.github.com/repos/tyloo/laracart/branches{/branch}","tags_url":"https://api.github.com/repos/tyloo/laracart/tags","blobs_url":"https://api.github.com/repos/tyloo/laracart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tyloo/laracart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tyloo/laracart/git/refs{/sha}","trees_url":"https://api.github.com/repos/tyloo/laracart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tyloo/laracart/statuses/{sha}","languages_url":"https://api.github.com/repos/tyloo/laracart/languages","stargazers_url":"https://api.github.com/repos/tyloo/laracart/stargazers","contributors_url":"https://api.github.com/repos/tyloo/laracart/contributors","subscribers_url":"https://api.github.com/repos/tyloo/laracart/subscribers","subscription_url":"https://api.github.com/repos/tyloo/laracart/subscription","commits_url":"https://api.github.com/repos/tyloo/laracart/commits{/sha}","git_commits_url":"https://api.github.com/repos/tyloo/laracart/git/commits{/sha}","comments_url":"https://api.github.com/repos/tyloo/laracart/comments{/number}","issue_comment_url":"https://api.github.com/repos/tyloo/laracart/issues/comments{/number}","contents_url":"https://api.github.com/repos/tyloo/laracart/contents/{+path}","compare_url":"https://api.github.com/repos/tyloo/laracart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tyloo/laracart/merges","archive_url":"https://api.github.com/repos/tyloo/laracart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tyloo/laracart/downloads","issues_url":"https://api.github.com/repos/tyloo/laracart/issues{/number}","pulls_url":"https://api.github.com/repos/tyloo/laracart/pulls{/number}","milestones_url":"https://api.github.com/repos/tyloo/laracart/milestones{/number}","notifications_url":"https://api.github.com/repos/tyloo/laracart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tyloo/laracart/labels{/name}","releases_url":"https://api.github.com/repos/tyloo/laracart/releases{/id}","deployments_url":"https://api.github.com/repos/tyloo/laracart/deployments","created_at":"2016-02-11T15:32:45Z","updated_at":"2016-02-11T15:32:46Z","pushed_at":"2016-02-12T08:29:28Z","git_url":"git://github.com/tyloo/laracart.git","ssh_url":"git@github.com:tyloo/laracart.git","clone_url":"https://github.com/tyloo/laracart.git","svn_url":"https://github.com/tyloo/laracart","homepage":"","size":324,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lukepolo:master","ref":"master","sha":"6b2eff6f70afcdf43efc6d7c562cbecaabdc0598","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 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}","deployments_url":"https://api.github.com/repos/lukepolo/laracart/deployments","created_at":"2015-06-18T15:11:24Z","updated_at":"2016-02-08T22:32:28Z","pushed_at":"2016-02-12T08:29:28Z","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":323,"stargazers_count":144,"watchers_count":144,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":6,"forks":12,"open_issues":6,"watchers":144,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lukepolo/laracart/pulls/81"},"html":{"href":"https://github.com/lukepolo/laracart/pull/81"},"issue":{"href":"https://api.github.com/repos/lukepolo/laracart/issues/81"},"comments":{"href":"https://api.github.com/repos/lukepolo/laracart/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/lukepolo/laracart/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/lukepolo/laracart/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lukepolo/laracart/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/lukepolo/laracart/statuses/49140255366df839814d2372ced863903d6c112a"}}}}