Skip to content
Permalink
Browse files

self::FETCH_TYPE_NUM in params for defaults.

  • Loading branch information...
T0mats0 committed Mar 31, 2018
1 parent 1b36a9a commit dc8506b1fe805fb5d823296d13708b460755e9c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Database/Statement/BufferedStatement.php
@@ -82,7 +82,7 @@ public function execute($params = null)
* @param string $type The type to fetch.
* @return array|false
*/
public function fetch($type = 'num')
public function fetch($type = parent::FETCH_TYPE_NUM)
{
if ($this->_allFetched) {
$row = ($this->_counter < $this->_count) ? $this->_records[$this->_counter++] : false;

0 comments on commit dc8506b

Please sign in to comment.
You can’t perform that action at this time.