{"action":"created","comment":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/comments/84244535","pull_request_review_id":5032911,"id":84244535,"diff_hunk":"@@ -1669,7 +1669,9 @@ public function getSubject()\n     {\n         if ($this->subject === null && $this->request) {\n             $id = $this->request->get($this->getIdParameter());\n-            $this->subject = $this->getModelManager()->find($this->class, $id);\n+            if (!\\is_array($id)) {","path":"Admin/AbstractAdmin.php","position":5,"original_position":5,"commit_id":"75df45667b2e0bc93f8f532b96be66a1bc7baf03","original_commit_id":"75df45667b2e0bc93f8f532b96be66a1bc7baf03","user":{"login":"greg0ire","id":657779,"avatar_url":"https://avatars.githubusercontent.com/u/657779?v=3","gravatar_id":"","url":"https://api.github.com/users/greg0ire","html_url":"https://github.com/greg0ire","followers_url":"https://api.github.com/users/greg0ire/followers","following_url":"https://api.github.com/users/greg0ire/following{/other_user}","gists_url":"https://api.github.com/users/greg0ire/gists{/gist_id}","starred_url":"https://api.github.com/users/greg0ire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg0ire/subscriptions","organizations_url":"https://api.github.com/users/greg0ire/orgs","repos_url":"https://api.github.com/users/greg0ire/repos","events_url":"https://api.github.com/users/greg0ire/events{/privacy}","received_events_url":"https://api.github.com/users/greg0ire/received_events","type":"User","site_admin":false},"body":"You don't need this backslash, do you? There is no `is_array` method in the current namespace AFAIK","created_at":"2016-10-20T09:31:45Z","updated_at":"2016-10-20T09:32:41Z","html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/4178#discussion_r84244535","pull_request_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/4178","_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/comments/84244535"},"html":{"href":"https://github.com/sonata-project/SonataAdminBundle/pull/4178#discussion_r84244535"},"pull_request":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/4178"}}},"pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/4178","id":90163571,"html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/4178","diff_url":"https://github.com/sonata-project/SonataAdminBundle/pull/4178.diff","patch_url":"https://github.com/sonata-project/SonataAdminBundle/pull/4178.patch","issue_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/4178","number":4178,"state":"open","locked":false,"title":"Update AbstractAdmin.php","user":{"login":"axzx","id":1436016,"avatar_url":"https://avatars.githubusercontent.com/u/1436016?v=3","gravatar_id":"","url":"https://api.github.com/users/axzx","html_url":"https://github.com/axzx","followers_url":"https://api.github.com/users/axzx/followers","following_url":"https://api.github.com/users/axzx/following{/other_user}","gists_url":"https://api.github.com/users/axzx/gists{/gist_id}","starred_url":"https://api.github.com/users/axzx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axzx/subscriptions","organizations_url":"https://api.github.com/users/axzx/orgs","repos_url":"https://api.github.com/users/axzx/repos","events_url":"https://api.github.com/users/axzx/events{/privacy}","received_events_url":"https://api.github.com/users/axzx/received_events","type":"User","site_admin":false},"body":"## Subject\r\n\r\nIf I have link with the id which is an array\r\n```\r\nlist?_sort_order=desc&_sort_by=id&_page=1&_per_page=32&id[type]=&id[value]=&\r\n```\r\n\r\nI have problem when I use getSubject in getAccess. \r\n","created_at":"2016-10-20T09:29:10Z","updated_at":"2016-10-20T09:32:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c411a50b4d167921ed514e09cdd38d7eda60f72","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/4178/commits","review_comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/4178/comments","review_comment_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/4178/comments","statuses_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/statuses/75df45667b2e0bc93f8f532b96be66a1bc7baf03","head":{"label":"axzx:patch-2","ref":"patch-2","sha":"75df45667b2e0bc93f8f532b96be66a1bc7baf03","user":{"login":"axzx","id":1436016,"avatar_url":"https://avatars.githubusercontent.com/u/1436016?v=3","gravatar_id":"","url":"https://api.github.com/users/axzx","html_url":"https://github.com/axzx","followers_url":"https://api.github.com/users/axzx/followers","following_url":"https://api.github.com/users/axzx/following{/other_user}","gists_url":"https://api.github.com/users/axzx/gists{/gist_id}","starred_url":"https://api.github.com/users/axzx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axzx/subscriptions","organizations_url":"https://api.github.com/users/axzx/orgs","repos_url":"https://api.github.com/users/axzx/repos","events_url":"https://api.github.com/users/axzx/events{/privacy}","received_events_url":"https://api.github.com/users/axzx/received_events","type":"User","site_admin":false},"repo":{"id":54505980,"name":"SonataAdminBundle","full_name":"axzx/SonataAdminBundle","owner":{"login":"axzx","id":1436016,"avatar_url":"https://avatars.githubusercontent.com/u/1436016?v=3","gravatar_id":"","url":"https://api.github.com/users/axzx","html_url":"https://github.com/axzx","followers_url":"https://api.github.com/users/axzx/followers","following_url":"https://api.github.com/users/axzx/following{/other_user}","gists_url":"https://api.github.com/users/axzx/gists{/gist_id}","starred_url":"https://api.github.com/users/axzx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axzx/subscriptions","organizations_url":"https://api.github.com/users/axzx/orgs","repos_url":"https://api.github.com/users/axzx/repos","events_url":"https://api.github.com/users/axzx/events{/privacy}","received_events_url":"https://api.github.com/users/axzx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/axzx/SonataAdminBundle","description":"AdminBundle - The missing Symfony2 Admin Generator","fork":true,"url":"https://api.github.com/repos/axzx/SonataAdminBundle","forks_url":"https://api.github.com/repos/axzx/SonataAdminBundle/forks","keys_url":"https://api.github.com/repos/axzx/SonataAdminBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/axzx/SonataAdminBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/axzx/SonataAdminBundle/teams","hooks_url":"https://api.github.com/repos/axzx/SonataAdminBundle/hooks","issue_events_url":"https://api.github.com/repos/axzx/SonataAdminBundle/issues/events{/number}","events_url":"https://api.github.com/repos/axzx/SonataAdminBundle/events","assignees_url":"https://api.github.com/repos/axzx/SonataAdminBundle/assignees{/user}","branches_url":"https://api.github.com/repos/axzx/SonataAdminBundle/branches{/branch}","tags_url":"https://api.github.com/repos/axzx/SonataAdminBundle/tags","blobs_url":"https://api.github.com/repos/axzx/SonataAdminBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/axzx/SonataAdminBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/axzx/SonataAdminBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/axzx/SonataAdminBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/axzx/SonataAdminBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/axzx/SonataAdminBundle/languages","stargazers_url":"https://api.github.com/repos/axzx/SonataAdminBundle/stargazers","contributors_url":"https://api.github.com/repos/axzx/SonataAdminBundle/contributors","subscribers_url":"https://api.github.com/repos/axzx/SonataAdminBundle/subscribers","subscription_url":"https://api.github.com/repos/axzx/SonataAdminBundle/subscription","commits_url":"https://api.github.com/repos/axzx/SonataAdminBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/axzx/SonataAdminBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/axzx/SonataAdminBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/axzx/SonataAdminBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/axzx/SonataAdminBundle/contents/{+path}","compare_url":"https://api.github.com/repos/axzx/SonataAdminBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/axzx/SonataAdminBundle/merges","archive_url":"https://api.github.com/repos/axzx/SonataAdminBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/axzx/SonataAdminBundle/downloads","issues_url":"https://api.github.com/repos/axzx/SonataAdminBundle/issues{/number}","pulls_url":"https://api.github.com/repos/axzx/SonataAdminBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/axzx/SonataAdminBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/axzx/SonataAdminBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/axzx/SonataAdminBundle/labels{/name}","releases_url":"https://api.github.com/repos/axzx/SonataAdminBundle/releases{/id}","deployments_url":"https://api.github.com/repos/axzx/SonataAdminBundle/deployments","created_at":"2016-03-22T20:18:29Z","updated_at":"2016-03-22T20:18:31Z","pushed_at":"2016-10-20T09:23:13Z","git_url":"git://github.com/axzx/SonataAdminBundle.git","ssh_url":"git@github.com:axzx/SonataAdminBundle.git","clone_url":"https://github.com/axzx/SonataAdminBundle.git","svn_url":"https://github.com/axzx/SonataAdminBundle","homepage":"http://sonata-project.org/bundles/admin","size":17610,"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":"sonata-project:3.x","ref":"3.x","sha":"b33f27ba38c6917eef169cbff59447e3d057eb16","user":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"repo":{"id":1095228,"name":"SonataAdminBundle","full_name":"sonata-project/SonataAdminBundle","owner":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sonata-project/SonataAdminBundle","description":"AdminBundle - The missing Symfony2 Admin Generator","fork":false,"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle","forks_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/forks","keys_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/teams","hooks_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/hooks","issue_events_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/events","assignees_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/tags","blobs_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/languages","stargazers_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/stargazers","contributors_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/contributors","subscribers_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/subscribers","subscription_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/subscription","commits_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/merges","archive_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/downloads","issues_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/labels{/name}","releases_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/releases{/id}","deployments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/deployments","created_at":"2010-11-19T17:08:52Z","updated_at":"2016-10-20T08:08:43Z","pushed_at":"2016-10-20T09:29:10Z","git_url":"git://github.com/sonata-project/SonataAdminBundle.git","ssh_url":"git@github.com:sonata-project/SonataAdminBundle.git","clone_url":"https://github.com/sonata-project/SonataAdminBundle.git","svn_url":"https://github.com/sonata-project/SonataAdminBundle","homepage":"http://sonata-project.org/bundles/admin","size":22563,"stargazers_count":1420,"watchers_count":1420,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1025,"mirror_url":null,"open_issues_count":280,"forks":1025,"open_issues":280,"watchers":1420,"default_branch":"3.x"}},"_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/4178"},"html":{"href":"https://github.com/sonata-project/SonataAdminBundle/pull/4178"},"issue":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/4178"},"comments":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/4178/comments"},"review_comments":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/4178/comments"},"review_comment":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/4178/commits"},"statuses":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/statuses/75df45667b2e0bc93f8f532b96be66a1bc7baf03"}}}}
{"actor":{"display_login":"greg0ire"}}