{"action":"closed","issue":{"url":"https://api.github.com/repos/bergie/phpflo/issues/8","labels_url":"https://api.github.com/repos/bergie/phpflo/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/bergie/phpflo/issues/8/comments","events_url":"https://api.github.com/repos/bergie/phpflo/issues/8/events","html_url":"https://github.com/bergie/phpflo/issues/8","id":17934779,"number":8,"title":"PhpFlo\\Graph::save() using $this when not in object context","user":{"login":"pminnieur","id":11743,"avatar_url":"https://avatars.githubusercontent.com/u/11743?v=3","gravatar_id":"","url":"https://api.github.com/users/pminnieur","html_url":"https://github.com/pminnieur","followers_url":"https://api.github.com/users/pminnieur/followers","following_url":"https://api.github.com/users/pminnieur/following{/other_user}","gists_url":"https://api.github.com/users/pminnieur/gists{/gist_id}","starred_url":"https://api.github.com/users/pminnieur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pminnieur/subscriptions","organizations_url":"https://api.github.com/users/pminnieur/orgs","repos_url":"https://api.github.com/users/pminnieur/repos","events_url":"https://api.github.com/users/pminnieur/events{/privacy}","received_events_url":"https://api.github.com/users/pminnieur/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2013-08-12T11:09:01Z","updated_at":"2015-12-18T09:47:13Z","closed_at":"2015-12-18T09:47:13Z","body":"The`save()` function is `static` but it's using `$this` when not in object context.\r\n\r\nWe should either add `Graph $graph` to the method signature and dump the provided graph or make the method non-static.\r\n\r\nSee https://github.com/bergie/phpflo/blob/master/src/PhpFlo/Graph.php#L163"}}