Skip to content

Conversation

franzliedke
Copy link
Contributor

Let's at least unify the default config setting in v5.1 so that both the standalone component and Laravel's base use FETCH_CLASS by default.

See #8107
/ping @jchamberlain

@jchamberlain
Copy link
Contributor

Totally agree. That said, could you do FETCH_OBJ instead of FETCH_CLASS? It's a minor difference, but that was a small point of confusion for me when I first started using Laravel. (See http://php.net/manual/en/pdostatement.fetch.php.)

@franzliedke
Copy link
Contributor Author

@jchamberlain Thanks, done.

@GrahamCampbell GrahamCampbell changed the title [5.1] Change default fetch mode to FETCH_CLASS [5.1] Change default fetch mode to FETCH_OBJ Mar 25, 2015
taylorotwell added a commit that referenced this pull request Mar 25, 2015
[5.1] Change default fetch mode to FETCH_OBJ
@taylorotwell taylorotwell merged commit ee9ebc8 into laravel:master Mar 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants