{"action":"closed","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/16567","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/16567/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/16567/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/16567/events","html_url":"https://github.com/laravel/framework/issues/16567","id":191916529,"number":16567,"title":"DB Facade sometime return object or array","user":{"login":"joko-wandiro","id":1568607,"avatar_url":"https://avatars.githubusercontent.com/u/1568607?v=3","gravatar_id":"","url":"https://api.github.com/users/joko-wandiro","html_url":"https://github.com/joko-wandiro","followers_url":"https://api.github.com/users/joko-wandiro/followers","following_url":"https://api.github.com/users/joko-wandiro/following{/other_user}","gists_url":"https://api.github.com/users/joko-wandiro/gists{/gist_id}","starred_url":"https://api.github.com/users/joko-wandiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joko-wandiro/subscriptions","organizations_url":"https://api.github.com/users/joko-wandiro/orgs","repos_url":"https://api.github.com/users/joko-wandiro/repos","events_url":"https://api.github.com/users/joko-wandiro/events{/privacy}","received_events_url":"https://api.github.com/users/joko-wandiro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-28T04:20:06Z","updated_at":"2016-11-28T04:36:31Z","closed_at":"2016-11-28T04:36:31Z","body":"- Laravel Version: 5.2\r\n- PHP Version:PHP 5.6.8\r\n- Database Driver & Version: MySQL 5.6.24\r\n\r\n### Description:\r\nI try get data using DB Facade but it sometime return object or array.\r\n\r\n### Steps To Reproduce:\r\n<pre>\r\n<code>\r\n$records = DB::table('routes')->get();\r\n</code>\r\n</pre>\r\n\r\nIt will sometime return object or array.\r\n<pre>\r\n<code>\r\narray:8 [▼\r\n  0 => array:8 [▶]\r\n  1 => array:8 [▶]\r\n  2 => array:8 [▶]\r\n  3 => array:8 [▶]\r\n  4 => array:8 [▶]\r\n  5 => array:8 [▶]\r\n  6 => array:8 [▶]\r\n  7 => array:8 [▶]\r\n]\r\n\r\narray:8 [▼\r\n  0 => {#226 ▶}\r\n  1 => {#227 ▶}\r\n  2 => {#228 ▶}\r\n  3 => {#229 ▶}\r\n  4 => {#230 ▶}\r\n  5 => {#231 ▶}\r\n  6 => {#232 ▶}\r\n  7 => {#233 ▶}\r\n]\r\n</code>\r\n</pre>\r\n"}}
{"actor":{"display_login":"joko-wandiro"}}