{"action":"closed","issue":{"url":"https://api.github.com/repos/mgp25/WhatsAPI-Official/issues/387","labels_url":"https://api.github.com/repos/mgp25/WhatsAPI-Official/issues/387/labels{/name}","comments_url":"https://api.github.com/repos/mgp25/WhatsAPI-Official/issues/387/comments","events_url":"https://api.github.com/repos/mgp25/WhatsAPI-Official/issues/387/events","html_url":"https://github.com/mgp25/WhatsAPI-Official/issues/387","id":57811690,"number":387,"title":"Documentation error for onGroupisCreated?","user":{"login":"dovfrank","id":1114736,"avatar_url":"https://avatars.githubusercontent.com/u/1114736?v=3","gravatar_id":"","url":"https://api.github.com/users/dovfrank","html_url":"https://github.com/dovfrank","followers_url":"https://api.github.com/users/dovfrank/followers","following_url":"https://api.github.com/users/dovfrank/following{/other_user}","gists_url":"https://api.github.com/users/dovfrank/gists{/gist_id}","starred_url":"https://api.github.com/users/dovfrank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dovfrank/subscriptions","organizations_url":"https://api.github.com/users/dovfrank/orgs","repos_url":"https://api.github.com/users/dovfrank/repos","events_url":"https://api.github.com/users/dovfrank/events{/privacy}","received_events_url":"https://api.github.com/users/dovfrank/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-16T14:41:11Z","updated_at":"2015-02-16T14:55:20Z","closed_at":"2015-02-16T14:55:20Z","body":"Hi,\r\nI was trying to use onGroupisCreated.\r\naccording to the documentation, it should be called as \"onGroupisCreated( $mynumber, $creator, $gid, $subject )\"\r\nBut It fails for me. Looking at the abstract definition (at AllEvents.php), I saw that it is \"onGroupisCreated( $mynumber, $creator, $gid, $subject, $admin, $creation ){}\"\r\n\r\nWhen changing to the method signature with all the parameters to be as in AllEvents.php - everything works fine.\r\nAm I doing something wrong? Starting PHP 5.4, signatures of the methods must match.\r\n"}}