8000 [Cache] Fix property types in PdoAdapter · symfony/symfony@5afeffd · GitHub
[go: up one dir, main page]

Skip to content

Commit 5afeffd

Browse files
committed
[Cache] Fix property types in PdoAdapter
1 parent e8ce12a commit 5afeffd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Symfony/Component/Cache/Adapter/PdoAdapter.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ class PdoAdapter extends AbstractAdapter implements PruneableInterface
2626
private string $dsn;
2727
private string $driver;
2828
private string $serverVersion;
29-
private mixed $table = 'cache_items';
30-
private mixed $idCol = 'item_id';
31-
private mixed $dataCol = 'item_data';
32-
private mixed $lifetimeCol = 'item_lifetime';
33-
private mixed $timeCol = 'item_time';
34-
private mixed $username = '';
35-
private mixed $password = '';
36-
private mixed $connectionOptions = [];
29+
private string $table = 'cache_items';
30+
private string $idCol = 'item_id';
31+
private string $dataCol = 'item_data';
32+
private string $lifetimeCol = 'item_lifetime';
33+
private string $timeCol = 'item_time';
34+
private ?string $username = '';
35+
private ?string $password = '';
36+
private array $connectionOptions = [];
3737
private string $namespace;
3838

3939
/**

0 commit comments

Comments
 (0)
0