Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
robsontenorio committed Dec 3, 2024
1 parent 9225c68 commit 53fbb2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.composer/cache/files
key: dependencies-composer-${{ hashFiles('composer.json') }}
Expand Down
4 changes: 2 additions & 2 deletions src/Pdo/Cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function __construct($dsn, $username, $password, array $options = [])
$dsn = \preg_replace('/^odbc:/', '', $dsn);
$this->options = $options;

$this->connect($dsn, $username, $password, $options);
$this->initializeConnection($dsn, $username, $password, $options);
}

/**
Expand Down Expand Up @@ -145,7 +145,7 @@ public function getOptions()
/**
* Connect to cache via odbc.
*/
private function connect($dsn, $username, $password, array $options)
private function initializeConnection($dsn, $username, $password, array $options)
{
$this->dbh = (\array_key_exists(PDO::ATTR_PERSISTENT, $options)
&& $options[PDO::ATTR_PERSISTENT])
Expand Down

0 comments on commit 53fbb2c

Please sign in to comment.