Skip to content

Commit

Permalink
Merge pull request #5799 from derrabus/bugfix/sqlite3-exception-typo
Browse files Browse the repository at this point in the history
Fix typo in exception message
  • Loading branch information
derrabus authored Oct 24, 2022
2 parents f38ee8a + b86785e commit c81b4c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Driver/SQLite3/Driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function connect(array $params): Connection
if (isset($params['path'])) {
if ($isMemory) {
throw new Exception(
'Invalid connection settings: specifying both parameters "path" and "memory" ambiguous.',
'Invalid connection settings: specifying both parameters "path" and "memory" is ambiguous.',
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Functional/Driver/SQLite3/DriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function testAmbiguousParams(): void
$this->expectException(DriverException::class);
$this->expectExceptionMessage(
'An exception occurred in the driver: '
. 'Invalid connection settings: specifying both parameters "path" and "memory" ambiguous.',
. 'Invalid connection settings: specifying both parameters "path" and "memory" is ambiguous.',
);

$connection = new Connection(
Expand Down

0 comments on commit c81b4c6

Please sign in to comment.