Skip to content

Commit

Permalink
Merge branch '5.4' into 6.3
Browse files Browse the repository at this point in the history
* 5.4:
  fix compatibility with Doctrine DBAL 4
  ensure string type with mbstring func overloading enabled
  [Validator] updated Greek translation
  [Cache][HttpFoundation][Lock] Fix empty username/password for PDO PostgreSQL
  • Loading branch information
nicolas-grekas committed Nov 7, 2023
2 parents 7e5d141 + 23146b4 commit 5379d56
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Store/PdoStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class PdoStore implements PersistingStoreInterface
private \PDO $conn;
private string $dsn;
private string $driver;
private string $username = '';
private string $password = '';
private ?string $username = null;
private ?string $password = null;
private array $connectionOptions = [];

/**
Expand Down
4 changes: 2 additions & 2 deletions Store/PostgreSqlStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class PostgreSqlStore implements BlockingSharedLockStoreInterface, BlockingStore
{
private \PDO $conn;
private string $dsn;
private string $username = '';
private string $password = '';
private ?string $username = null;
private ?string $password = null;
private array $connectionOptions = [];
private static array $storeRegistry = [];

Expand Down

0 comments on commit 5379d56

Please sign in to comment.