{"action":"created","issue":{"url":"https://api.github.com/repos/mongodb/mongo-php-library/issues/79","labels_url":"https://api.github.com/repos/mongodb/mongo-php-library/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/mongodb/mongo-php-library/issues/79/comments","events_url":"https://api.github.com/repos/mongodb/mongo-php-library/issues/79/events","html_url":"https://github.com/mongodb/mongo-php-library/issues/79","id":124290418,"number":79,"title":"findOne return is not array","user":{"login":"Liudon","id":5969707,"avatar_url":"https://avatars.githubusercontent.com/u/5969707?v=3","gravatar_id":"","url":"https://api.github.com/users/Liudon","html_url":"https://github.com/Liudon","followers_url":"https://api.github.com/users/Liudon/followers","following_url":"https://api.github.com/users/Liudon/following{/other_user}","gists_url":"https://api.github.com/users/Liudon/gists{/gist_id}","starred_url":"https://api.github.com/users/Liudon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Liudon/subscriptions","organizations_url":"https://api.github.com/users/Liudon/orgs","repos_url":"https://api.github.com/users/Liudon/repos","events_url":"https://api.github.com/users/Liudon/events{/privacy}","received_events_url":"https://api.github.com/users/Liudon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-30T01:14:58Z","updated_at":"2015-12-30T05:51:50Z","closed_at":null,"body":"```\r\n<?php\r\n\r\n// This path should point to Composer's autoloader\r\nrequire_once __DIR__ . \"/vendor/autoload.php\";\r\n\r\n$manager = new MongoDB\\Driver\\Manager(\"mongodb://localhost:27017\");\r\n$collection = new MongoDB\\Collection($manager, \"db.abc\");\r\n$sunnyvale = $collection->findOne(array(\"id\" => 94086));\r\nvar_dump($sunnyvale);\r\n\r\n?>\r\n```\r\n\r\noutput is object.\r\n```\r\nobject(stdClass)#18 (22) {\r\n  [\"_id\"]=>\r\n  object(MongoDB\\BSON\\ObjectID)#12 (1) {\r\n    [\"oid\"]=>\r\n    string(24) \"56820bdc10167adb058b4567\"\r\n  }\r\n  [\"id\"]=>\r\n  int(94086)\r\n  ...\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/mongodb/mongo-php-library/issues/comments/167941461","html_url":"https://github.com/mongodb/mongo-php-library/issues/79#issuecomment-167941461","issue_url":"https://api.github.com/repos/mongodb/mongo-php-library/issues/79","id":167941461,"user":{"login":"Liudon","id":5969707,"avatar_url":"https://avatars.githubusercontent.com/u/5969707?v=3","gravatar_id":"","url":"https://api.github.com/users/Liudon","html_url":"https://github.com/Liudon","followers_url":"https://api.github.com/users/Liudon/followers","following_url":"https://api.github.com/users/Liudon/following{/other_user}","gists_url":"https://api.github.com/users/Liudon/gists{/gist_id}","starred_url":"https://api.github.com/users/Liudon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Liudon/subscriptions","organizations_url":"https://api.github.com/users/Liudon/orgs","repos_url":"https://api.github.com/users/Liudon/repos","events_url":"https://api.github.com/users/Liudon/events{/privacy}","received_events_url":"https://api.github.com/users/Liudon/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T05:51:50Z","updated_at":"2015-12-30T05:51:50Z","body":"zhe method \"find\" return is object. and \"typeMap\" option does not work."}}