{"action":"created","issue":{"url":"https://api.github.com/repos/tony2001/pinba_extension/issues/20","labels_url":"https://api.github.com/repos/tony2001/pinba_extension/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/tony2001/pinba_extension/issues/20/comments","events_url":"https://api.github.com/repos/tony2001/pinba_extension/issues/20/events","html_url":"https://github.com/tony2001/pinba_extension/issues/20","id":66616015,"number":20,"title":"The PinbaClient class incorrect work with request_time variable","user":{"login":"aparkhomenko","id":7422485,"avatar_url":"https://avatars.githubusercontent.com/u/7422485?v=3","gravatar_id":"","url":"https://api.github.com/users/aparkhomenko","html_url":"https://github.com/aparkhomenko","followers_url":"https://api.github.com/users/aparkhomenko/followers","following_url":"https://api.github.com/users/aparkhomenko/following{/other_user}","gists_url":"https://api.github.com/users/aparkhomenko/gists{/gist_id}","starred_url":"https://api.github.com/users/aparkhomenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aparkhomenko/subscriptions","organizations_url":"https://api.github.com/users/aparkhomenko/orgs","repos_url":"https://api.github.com/users/aparkhomenko/repos","events_url":"https://api.github.com/users/aparkhomenko/events{/privacy}","received_events_url":"https://api.github.com/users/aparkhomenko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-06T14:20:34Z","updated_at":"2015-06-08T09:05:25Z","closed_at":"2015-06-08T09:05:25Z","body":"Hello,\r\n\r\nWhen I try to use:\r\n\r\n```php -r '$pc = new PinbaClient(array(ini_get(\"pinba.server\"))); $pc->setRequestTime(0.1);'```\r\n\r\nI've got the warning\r\n```Warning: PinbaClient::setRequestTime(): request_time cannot be less than zero in Command line code on line 1```\r\n\r\nThat's because you use:\r\n```SET_METHOD_NUM(setRequestTime, request_time, float, \"d\");```\r\n\r\nAs I know php variables use type double but you compare with type float in that macros."},"comment":{"url":"https://api.github.com/repos/tony2001/pinba_extension/issues/comments/109919157","html_url":"https://github.com/tony2001/pinba_extension/issues/20#issuecomment-109919157","issue_url":"https://api.github.com/repos/tony2001/pinba_extension/issues/20","id":109919157,"user":{"login":"tony2001","id":42386,"avatar_url":"https://avatars.githubusercontent.com/u/42386?v=3","gravatar_id":"","url":"https://api.github.com/users/tony2001","html_url":"https://github.com/tony2001","followers_url":"https://api.github.com/users/tony2001/followers","following_url":"https://api.github.com/users/tony2001/following{/other_user}","gists_url":"https://api.github.com/users/tony2001/gists{/gist_id}","starred_url":"https://api.github.com/users/tony2001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tony2001/subscriptions","organizations_url":"https://api.github.com/users/tony2001/orgs","repos_url":"https://api.github.com/users/tony2001/repos","events_url":"https://api.github.com/users/tony2001/events{/privacy}","received_events_url":"https://api.github.com/users/tony2001/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T09:05:25Z","updated_at":"2015-06-08T09:05:25Z","body":"Weird, I didn't get a notification for this issue.\r\nSure, it can be closed, if the patch fixes it."}}