Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 72a7c58bc4 | |||
| e1959752e1 | |||
| 361ad4538f |
+1
-1
@@ -21,7 +21,7 @@
|
||||
},
|
||||
"require": {
|
||||
"php": ">= 8.0",
|
||||
"game-worker/kiri-client": "dev-master",
|
||||
"game-worker/kiri-client": "~v2.6",
|
||||
"game-worker/kiri-container": "~v1.9",
|
||||
"psr/container": "*"
|
||||
},
|
||||
|
||||
+11
-2
@@ -536,11 +536,20 @@ class Config
|
||||
$this->usrSwoole = $usrSwoole;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
/**
|
||||
* @param array $configs
|
||||
*/
|
||||
public function __construct(array $configs)
|
||||
{
|
||||
$this->setConfigs($configs);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $configs
|
||||
* @return $this
|
||||
*/
|
||||
public function setConfigs(array $configs): static
|
||||
protected function setConfigs(array $configs): static
|
||||
{
|
||||
if (empty($configs)) {
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user