Skip to content

Commit f39dd7d

Browse files
committed
Update FluentAdapter.php
1 parent ef409bb commit f39dd7d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Storage/FluentAdapter.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,6 @@ public function setConnectionName($connectionName)
4949

5050
protected function getConnection()
5151
{
52-
$conn = $this->resolver->connection($this->connectionName);
53-
// maybe others have the database config for fetch mode to PDO::FETCH_ASSOC
54-
// u'd better force it back here, or all your data fetching result will be unusable.
55-
$conn->setFetchMode(\PDO::FETCH_OBJ);
56-
return $conn;
52+
return $this->resolver->connection($this->connectionName);
5753
}
5854
}

0 commit comments

Comments
 (0)