Skip to content

Commit 78ff127

Browse files
committed
ci: move prop init to constructor
1 parent 502bf90 commit 78ff127

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

Handler/Stdout.php

+2-8
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@ class Stdout extends StreamHandler
1717
*/
1818
private $deploymentConfig;
1919

20-
/**
21-
* Log stack bubbling
22-
* See: https://github.com/Seldaek/monolog
23-
*
24-
* We disable bubbling as this logger should be the only logger.
25-
*/
26-
protected bool $bubble = false;
27-
2820
/**
2921
* @var int
3022
*/
@@ -36,6 +28,8 @@ class Stdout extends StreamHandler
3628
*/
3729
public function __construct(DeploymentConfig $deploymentConfig)
3830
{
31+
$this->bubble = false;
32+
3933
$this->deploymentConfig = $deploymentConfig;
4034

4135
if ($this->deploymentConfig->isAvailable() && $this->isDebugLoggingEnabled()) {

0 commit comments

Comments
 (0)