Skip to content

Commit

Permalink
Fix PDO argument ordering
Browse files Browse the repository at this point in the history
Change-Id: Ia4f825089e1be9af44abb3513aba4556917a0f9c
  • Loading branch information
Dave Pifke committed Jul 10, 2020
1 parent bcd7a10 commit 8889301
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 @@ -85,8 +85,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 8889301

Please sign in to comment.