We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f1c93e8 + 3d928c9 commit 5efd2aaCopy full SHA for 5efd2aa
src/App.php
@@ -51,6 +51,7 @@
51
use LogicException;
52
use ReflectionClass;
53
use ReflectionException;
54
+use SensitiveParameter;
55
56
/**
57
* Class App.
@@ -110,8 +111,11 @@ class App
110
111
* @param array<string,mixed>|Config|string|null $config The config
112
* @param bool $debug Set true to enable debug mode. False to disable.
113
*/
- public function __construct(Config | array | string $config = null, bool $debug = false)
114
- {
+ public function __construct(
115
+ #[SensitiveParameter]
116
+ Config | array | string $config = null,
117
+ bool $debug = false
118
+ ) {
119
if ($debug) {
120
$this->debugStart();
121
}
0 commit comments