Skip to content

Commit

Permalink
Merge pull request #306 from glensc/pdo-order
Browse files Browse the repository at this point in the history
Fix PDO argument ordering
  • Loading branch information
glensc committed Aug 19, 2020
2 parents d9133bf + d8249ac commit 3752d2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Xhgui/ServiceContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ protected function _services()
$this['pdo'] = $this->share(function ($c) {
return new PDO(
$c['config']['pdo']['dsn'],
$c['config']['pdo']['pass'],
$c['config']['pdo']['user']
$c['config']['pdo']['user'],
$c['config']['pdo']['pass']
);
});

Expand Down

0 comments on commit 3752d2d

Please sign in to comment.