Browse Source

Use proper PDO fetch style

vlakoff 8 years ago
parent
commit
07c95968b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      config/database.php

+ 1 - 1
config/database.php

@@ -13,7 +13,7 @@ return [
     |
     */
 
-    'fetch' => PDO::FETCH_CLASS,
+    'fetch' => PDO::FETCH_OBJ,
 
     /*
     |--------------------------------------------------------------------------