{"action":"created","comment":{"url":"https://api.github.com/repos/the-control-group/voyager/pulls/comments/183364282","pull_request_review_id":114346005,"id":183364282,"diff_hunk":"@@ -4,7 +4,7 @@\n \n use ArrayAccess;\n use Illuminate\\Database\\Eloquent\\Model;\n-use TCG\\Voyager\\Facades\\Voyager;\n+//use TCG\\Voyager\\Facades\\Voyager;","path":"src/Translator.php","position":5,"original_position":5,"commit_id":"fc34c9142d34c55de0ecc6ac8fd56d69d7223f81","original_commit_id":"fc34c9142d34c55de0ecc6ac8fd56d69d7223f81","user":{"login":"marktopper","id":2232539,"avatar_url":"https://avatars3.githubusercontent.com/u/2232539?v=4","gravatar_id":"","url":"https://api.github.com/users/marktopper","html_url":"https://github.com/marktopper","followers_url":"https://api.github.com/users/marktopper/followers","following_url":"https://api.github.com/users/marktopper/following{/other_user}","gists_url":"https://api.github.com/users/marktopper/gists{/gist_id}","starred_url":"https://api.github.com/users/marktopper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marktopper/subscriptions","organizations_url":"https://api.github.com/users/marktopper/orgs","repos_url":"https://api.github.com/users/marktopper/repos","events_url":"https://api.github.com/users/marktopper/events{/privacy}","received_events_url":"https://api.github.com/users/marktopper/received_events","type":"User","site_admin":false},"body":"The Voyager facade is used, so you cannot just remove it.","created_at":"2018-04-23T11:43:09Z","updated_at":"2018-04-23T11:43:13Z","html_url":"https://github.com/the-control-group/voyager/pull/3041#discussion_r183364282","pull_request_url":"https://api.github.com/repos/the-control-group/voyager/pulls/3041","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/the-control-group/voyager/pulls/comments/183364282"},"html":{"href":"https://github.com/the-control-group/voyager/pull/3041#discussion_r183364282"},"pull_request":{"href":"https://api.github.com/repos/the-control-group/voyager/pulls/3041"}}},"pull_request":{"url":"https://api.github.com/repos/the-control-group/voyager/pulls/3041","id":183401249,"html_url":"https://github.com/the-control-group/voyager/pull/3041","diff_url":"https://github.com/the-control-group/voyager/pull/3041.diff","patch_url":"https://github.com/the-control-group/voyager/pull/3041.patch","issue_url":"https://api.github.com/repos/the-control-group/voyager/issues/3041","number":3041,"state":"open","locked":false,"title":"Cannot use TCG\\Voyager\\Facades\\Voyager as Voyager","user":{"login":"mubasharahmad","id":2682072,"avatar_url":"https://avatars0.githubusercontent.com/u/2682072?v=4","gravatar_id":"","url":"https://api.github.com/users/mubasharahmad","html_url":"https://github.com/mubasharahmad","followers_url":"https://api.github.com/users/mubasharahmad/followers","following_url":"https://api.github.com/users/mubasharahmad/following{/other_user}","gists_url":"https://api.github.com/users/mubasharahmad/gists{/gist_id}","starred_url":"https://api.github.com/users/mubasharahmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mubasharahmad/subscriptions","organizations_url":"https://api.github.com/users/mubasharahmad/orgs","repos_url":"https://api.github.com/users/mubasharahmad/repos","events_url":"https://api.github.com/users/mubasharahmad/events{/privacy}","received_events_url":"https://api.github.com/users/mubasharahmad/received_events","type":"User","site_admin":false},"body":"we facing error:\r\nCannot use TCG\\Voyager\\Facades\\Voyager as Voyager because the name is already in use\r\n\r\nSolution:\r\nRemove \"use TCG\\Voyager\\Facades\\Voyager;\"  (you no need to declare because both files are in same directory)\r\nor\r\nuse as \" use TCG\\Voyager\\Facades\\Voyager as NewAlias; \"","created_at":"2018-04-23T11:16:23Z","updated_at":"2018-04-23T11:43:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"952df3999fc3d0f7242de66d58e1608f2bd07a95","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/the-control-group/voyager/pulls/3041/commits","review_comments_url":"https://api.github.com/repos/the-control-group/voyager/pulls/3041/comments","review_comment_url":"https://api.github.com/repos/the-control-group/voyager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/the-control-group/voyager/issues/3041/comments","statuses_url":"https://api.github.com/repos/the-control-group/voyager/statuses/fc34c9142d34c55de0ecc6ac8fd56d69d7223f81","head":{"label":"mubasharahmad:patch-1","ref":"patch-1","sha":"fc34c9142d34c55de0ecc6ac8fd56d69d7223f81","user":{"login":"mubasharahmad","id":2682072,"avatar_url":"https://avatars0.githubusercontent.com/u/2682072?v=4","gravatar_id":"","url":"https://api.github.com/users/mubasharahmad","html_url":"https://github.com/mubasharahmad","followers_url":"https://api.github.com/users/mubasharahmad/followers","following_url":"https://api.github.com/users/mubasharahmad/following{/other_user}","gists_url":"https://api.github.com/users/mubasharahmad/gists{/gist_id}","starred_url":"https://api.github.com/users/mubasharahmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mubasharahmad/subscriptions","organizations_url":"https://api.github.com/users/mubasharahmad/orgs","repos_url":"https://api.github.com/users/mubasharahmad/repos","events_url":"https://api.github.com/users/mubasharahmad/events{/privacy}","received_events_url":"https://api.github.com/users/mubasharahmad/received_events","type":"User","site_admin":false},"repo":{"id":130682603,"name":"voyager","full_name":"mubasharahmad/voyager","owner":{"login":"mubasharahmad","id":2682072,"avatar_url":"https://avatars0.githubusercontent.com/u/2682072?v=4","gravatar_id":"","url":"https://api.github.com/users/mubasharahmad","html_url":"https://github.com/mubasharahmad","followers_url":"https://api.github.com/users/mubasharahmad/followers","following_url":"https://api.github.com/users/mubasharahmad/following{/other_user}","gists_url":"https://api.github.com/users/mubasharahmad/gists{/gist_id}","starred_url":"https://api.github.com/users/mubasharahmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mubasharahmad/subscriptions","organizations_url":"https://api.github.com/users/mubasharahmad/orgs","repos_url":"https://api.github.com/users/mubasharahmad/repos","events_url":"https://api.github.com/users/mubasharahmad/events{/privacy}","received_events_url":"https://api.github.com/users/mubasharahmad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mubasharahmad/voyager","description":"Voyager - The Missing Laravel Admin","fork":true,"url":"https://api.github.com/repos/mubasharahmad/voyager","forks_url":"https://api.github.com/repos/mubasharahmad/voyager/forks","keys_url":"https://api.github.com/repos/mubasharahmad/voyager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mubasharahmad/voyager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mubasharahmad/voyager/teams","hooks_url":"https://api.github.com/repos/mubasharahmad/voyager/hooks","issue_events_url":"https://api.github.com/repos/mubasharahmad/voyager/issues/events{/number}","events_url":"https://api.github.com/repos/mubasharahmad/voyager/events","assignees_url":"https://api.github.com/repos/mubasharahmad/voyager/assignees{/user}","branches_url":"https://api.github.com/repos/mubasharahmad/voyager/branches{/branch}","tags_url":"https://api.github.com/repos/mubasharahmad/voyager/tags","blobs_url":"https://api.github.com/repos/mubasharahmad/voyager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mubasharahmad/voyager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mubasharahmad/voyager/git/refs{/sha}","trees_url":"https://api.github.com/repos/mubasharahmad/voyager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mubasharahmad/voyager/statuses/{sha}","languages_url":"https://api.github.com/repos/mubasharahmad/voyager/languages","stargazers_url":"https://api.github.com/repos/mubasharahmad/voyager/stargazers","contributors_url":"https://api.github.com/repos/mubasharahmad/voyager/contributors","subscribers_url":"https://api.github.com/repos/mubasharahmad/voyager/subscribers","subscription_url":"https://api.github.com/repos/mubasharahmad/voyager/subscription","commits_url":"https://api.github.com/repos/mubasharahmad/voyager/commits{/sha}","git_commits_url":"https://api.github.com/repos/mubasharahmad/voyager/git/commits{/sha}","comments_url":"https://api.github.com/repos/mubasharahmad/voyager/comments{/number}","issue_comment_url":"https://api.github.com/repos/mubasharahmad/voyager/issues/comments{/number}","contents_url":"https://api.github.com/repos/mubasharahmad/voyager/contents/{+path}","compare_url":"https://api.github.com/repos/mubasharahmad/voyager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mubasharahmad/voyager/merges","archive_url":"https://api.github.com/repos/mubasharahmad/voyager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mubasharahmad/voyager/downloads","issues_url":"https://api.github.com/repos/mubasharahmad/voyager/issues{/number}","pulls_url":"https://api.github.com/repos/mubasharahmad/voyager/pulls{/number}","milestones_url":"https://api.github.com/repos/mubasharahmad/voyager/milestones{/number}","notifications_url":"https://api.github.com/repos/mubasharahmad/voyager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mubasharahmad/voyager/labels{/name}","releases_url":"https://api.github.com/repos/mubasharahmad/voyager/releases{/id}","deployments_url":"https://api.github.com/repos/mubasharahmad/voyager/deployments","created_at":"2018-04-23T10:53:32Z","updated_at":"2018-04-23T10:53:34Z","pushed_at":"2018-04-23T11:00:48Z","git_url":"git://github.com/mubasharahmad/voyager.git","ssh_url":"git@github.com:mubasharahmad/voyager.git","clone_url":"https://github.com/mubasharahmad/voyager.git","svn_url":"https://github.com/mubasharahmad/voyager","homepage":"https://laravelvoyager.com","size":29433,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"1.1"}},"base":{"label":"the-control-group:1.1","ref":"1.1","sha":"94b34a49c9c75e75d8784ab23ec7a2b5b1b3058c","user":{"login":"the-control-group","id":5199022,"avatar_url":"https://avatars0.githubusercontent.com/u/5199022?v=4","gravatar_id":"","url":"https://api.github.com/users/the-control-group","html_url":"https://github.com/the-control-group","followers_url":"https://api.github.com/users/the-control-group/followers","following_url":"https://api.github.com/users/the-control-group/following{/other_user}","gists_url":"https://api.github.com/users/the-control-group/gists{/gist_id}","starred_url":"https://api.github.com/users/the-control-group/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-control-group/subscriptions","organizations_url":"https://api.github.com/users/the-control-group/orgs","repos_url":"https://api.github.com/users/the-control-group/repos","events_url":"https://api.github.com/users/the-control-group/events{/privacy}","received_events_url":"https://api.github.com/users/the-control-group/received_events","type":"Organization","site_admin":false},"repo":{"id":72069409,"name":"voyager","full_name":"the-control-group/voyager","owner":{"login":"the-control-group","id":5199022,"avatar_url":"https://avatars0.githubusercontent.com/u/5199022?v=4","gravatar_id":"","url":"https://api.github.com/users/the-control-group","html_url":"https://github.com/the-control-group","followers_url":"https://api.github.com/users/the-control-group/followers","following_url":"https://api.github.com/users/the-control-group/following{/other_user}","gists_url":"https://api.github.com/users/the-control-group/gists{/gist_id}","starred_url":"https://api.github.com/users/the-control-group/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-control-group/subscriptions","organizations_url":"https://api.github.com/users/the-control-group/orgs","repos_url":"https://api.github.com/users/the-control-group/repos","events_url":"https://api.github.com/users/the-control-group/events{/privacy}","received_events_url":"https://api.github.com/users/the-control-group/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/the-control-group/voyager","description":"Voyager - The Missing Laravel Admin","fork":false,"url":"https://api.github.com/repos/the-control-group/voyager","forks_url":"https://api.github.com/repos/the-control-group/voyager/forks","keys_url":"https://api.github.com/repos/the-control-group/voyager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/the-control-group/voyager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/the-control-group/voyager/teams","hooks_url":"https://api.github.com/repos/the-control-group/voyager/hooks","issue_events_url":"https://api.github.com/repos/the-control-group/voyager/issues/events{/number}","events_url":"https://api.github.com/repos/the-control-group/voyager/events","assignees_url":"https://api.github.com/repos/the-control-group/voyager/assignees{/user}","branches_url":"https://api.github.com/repos/the-control-group/voyager/branches{/branch}","tags_url":"https://api.github.com/repos/the-control-group/voyager/tags","blobs_url":"https://api.github.com/repos/the-control-group/voyager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/the-control-group/voyager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/the-control-group/voyager/git/refs{/sha}","trees_url":"https://api.github.com/repos/the-control-group/voyager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/the-control-group/voyager/statuses/{sha}","languages_url":"https://api.github.com/repos/the-control-group/voyager/languages","stargazers_url":"https://api.github.com/repos/the-control-group/voyager/stargazers","contributors_url":"https://api.github.com/repos/the-control-group/voyager/contributors","subscribers_url":"https://api.github.com/repos/the-control-group/voyager/subscribers","subscription_url":"https://api.github.com/repos/the-control-group/voyager/subscription","commits_url":"https://api.github.com/repos/the-control-group/voyager/commits{/sha}","git_commits_url":"https://api.github.com/repos/the-control-group/voyager/git/commits{/sha}","comments_url":"https://api.github.com/repos/the-control-group/voyager/comments{/number}","issue_comment_url":"https://api.github.com/repos/the-control-group/voyager/issues/comments{/number}","contents_url":"https://api.github.com/repos/the-control-group/voyager/contents/{+path}","compare_url":"https://api.github.com/repos/the-control-group/voyager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/the-control-group/voyager/merges","archive_url":"https://api.github.com/repos/the-control-group/voyager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/the-control-group/voyager/downloads","issues_url":"https://api.github.com/repos/the-control-group/voyager/issues{/number}","pulls_url":"https://api.github.com/repos/the-control-group/voyager/pulls{/number}","milestones_url":"https://api.github.com/repos/the-control-group/voyager/milestones{/number}","notifications_url":"https://api.github.com/repos/the-control-group/voyager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/the-control-group/voyager/labels{/name}","releases_url":"https://api.github.com/repos/the-control-group/voyager/releases{/id}","deployments_url":"https://api.github.com/repos/the-control-group/voyager/deployments","created_at":"2016-10-27T03:56:49Z","updated_at":"2018-04-23T08:31:26Z","pushed_at":"2018-04-23T11:16:24Z","git_url":"git://github.com/the-control-group/voyager.git","ssh_url":"git@github.com:the-control-group/voyager.git","clone_url":"https://github.com/the-control-group/voyager.git","svn_url":"https://github.com/the-control-group/voyager","homepage":"https://laravelvoyager.com","size":29433,"stargazers_count":6001,"watchers_count":6001,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1352,"mirror_url":null,"archived":false,"open_issues_count":229,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1352,"open_issues":229,"watchers":6001,"default_branch":"1.1"}},"_links":{"self":{"href":"https://api.github.com/repos/the-control-group/voyager/pulls/3041"},"html":{"href":"https://github.com/the-control-group/voyager/pull/3041"},"issue":{"href":"https://api.github.com/repos/the-control-group/voyager/issues/3041"},"comments":{"href":"https://api.github.com/repos/the-control-group/voyager/issues/3041/comments"},"review_comments":{"href":"https://api.github.com/repos/the-control-group/voyager/pulls/3041/comments"},"review_comment":{"href":"https://api.github.com/repos/the-control-group/voyager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/the-control-group/voyager/pulls/3041/commits"},"statuses":{"href":"https://api.github.com/repos/the-control-group/voyager/statuses/fc34c9142d34c55de0ecc6ac8fd56d69d7223f81"}},"author_association":"NONE"}}
{"actor":{"display_login":"marktopper"}}