We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f77ab8 commit dc8ca2aCopy full SHA for dc8ca2a
system/Context/Context.php
@@ -24,20 +24,14 @@ final class Context
24
*
25
* @var array<string, mixed>
26
*/
27
- private array $data;
+ private array $data = [];
28
29
/**
30
* The data that is stored but not included in logs.
31
32
33
34
- private array $hiddenData;
35
-
36
- public function __construct()
37
- {
38
- $this->data = [];
39
- $this->hiddenData = [];
40
- }
+ private array $hiddenData = [];
41
42
43
* Set a key-value pair to the context.
0 commit comments