laravel/framework — pull request #6015 by ZEALi (2014-10-08 02:05:24+00:00)
Title: fetch mode should be initalized everytime

otherwise if some code outside change it on purposes:
$conn = DB::connection();
$conn->setFetchMode(PDO::FETCH_ASSOC);
then any code depends on the fetch result type (which may be FETCH_OBJ) will be corupted