{"action":"closed","issue":{"url":"https://api.github.com/repos/kus/php-image/issues/1","labels_url":"https://api.github.com/repos/kus/php-image/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/kus/php-image/issues/1/comments","events_url":"https://api.github.com/repos/kus/php-image/issues/1/events","html_url":"https://github.com/kus/php-image/issues/1","id":25430831,"number":1,"title":"Error with textBox","user":{"login":"elbaku","id":3442649,"avatar_url":"https://avatars.githubusercontent.com/u/3442649?v=3","gravatar_id":"","url":"https://api.github.com/users/elbaku","html_url":"https://github.com/elbaku","followers_url":"https://api.github.com/users/elbaku/followers","following_url":"https://api.github.com/users/elbaku/following{/other_user}","gists_url":"https://api.github.com/users/elbaku/gists{/gist_id}","starred_url":"https://api.github.com/users/elbaku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elbaku/subscriptions","organizations_url":"https://api.github.com/users/elbaku/orgs","repos_url":"https://api.github.com/users/elbaku/repos","events_url":"https://api.github.com/users/elbaku/events{/privacy}","received_events_url":"https://api.github.com/users/elbaku/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2014-01-10T23:36:45Z","updated_at":"2015-01-02T02:51:19Z","closed_at":"2015-01-02T02:51:19Z","body":"Hi, in line 674 you are calling the method:\r\n\r\nreturn $this->text($this->wrap($text, $width, $fontSize, $angle, $fontFile), $fontSize, $x, $y, $angle, $strokeWidth, $opacity, $fontColor, $strokeColor, $fontFile);\r\n\r\nand it should be: \r\n\r\nreturn $this->text($this->wrap($text, $width, $fontSize, $angle, $fontFile), array($fontSize, $x, $y, $angle, $strokeWidth, $opacity, $fontColor, $strokeColor, $fontFile));\r\n\r\nthis is because text need 2 parameters, the text and the options"}}