Skip to content

Commit d294a20

Browse files
authored
Revert constructor parameter name change for Nacos\Application (#7561)
1 parent 4e2833c commit d294a20

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Application.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ class Application
4040

4141
protected array $providers = [];
4242

43-
public function __construct(protected Config $conf)
43+
protected Config $conf;
44+
45+
public function __construct(Config $config)
4446
{
47+
$this->conf = $config;
4548
}
4649

4750
public function __get($name)

0 commit comments

Comments
 (0)