Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f306b74

Browse filesBrowse files
committed
[Cache] Fix property types in PdoAdapter
1 parent 68e6af4 commit f306b74
Copy full SHA for f306b74

File tree

Expand file treeCollapse file tree

1 file changed

+8
-8
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+8
-8
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Cache/Adapter/PdoAdapter.php
+8-8Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ class PdoAdapter extends AbstractAdapter implements PruneableInterface
2525
private string $dsn;
2626
private string $driver;
2727
private string $serverVersion;
28-
private mixed $table = 'cache_items';
29-
private mixed $idCol = 'item_id';
30-
private mixed $dataCol = 'item_data';
31-
private mixed $lifetimeCol = 'item_lifetime';
32-
private mixed $timeCol = 'item_time';
33-
private mixed $username = '';
34-
private mixed $password = '';
35-
private mixed $connectionOptions = [];
28+
private string $table = 'cache_items';
29+
private string $idCol = 'item_id';
30+
private string $dataCol = 'item_data';
31+
private string $lifetimeCol = 'item_lifetime';
32+
private string $timeCol = 'item_time';
33+
private ?string $username = '';
34+
private ?string $password = '';
35+
private array $connectionOptions = [];
3636
private string $namespace;
3737

3838
/**

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.