eee
This commit is contained in:
@@ -8,8 +8,6 @@
|
||||
|
||||
namespace wchat\common;
|
||||
|
||||
use wchat\common\Config;
|
||||
|
||||
abstract class Multiprogramming implements Progaram
|
||||
{
|
||||
|
||||
@@ -23,9 +21,9 @@ abstract class Multiprogramming implements Progaram
|
||||
|
||||
|
||||
/**
|
||||
* @var PayConfig
|
||||
* @var AppConfig
|
||||
*/
|
||||
protected PayConfig $payConfig;
|
||||
protected AppConfig $payConfig;
|
||||
|
||||
|
||||
/**
|
||||
@@ -72,7 +70,7 @@ abstract class Multiprogramming implements Progaram
|
||||
|
||||
|
||||
/**
|
||||
* @param \wchat\common\Config $config
|
||||
* @param Config $config
|
||||
* @return void
|
||||
*/
|
||||
public function setConfig(Config $config): void
|
||||
@@ -81,26 +79,26 @@ abstract class Multiprogramming implements Progaram
|
||||
}
|
||||
|
||||
/**
|
||||
* @return PayConfig
|
||||
* @return AppConfig
|
||||
*/
|
||||
public function getPayConfig(): PayConfig
|
||||
public function getPayConfig(): AppConfig
|
||||
{
|
||||
return $this->payConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param PayConfig $payConfig
|
||||
* @param AppConfig $payConfig
|
||||
*/
|
||||
public function setPayConfig(PayConfig $payConfig): void
|
||||
public function setPayConfig(AppConfig $payConfig): void
|
||||
{
|
||||
$this->payConfig = $payConfig;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return \wchat\common\Config
|
||||
* @return Config
|
||||
*/
|
||||
public function getConfig(): \wchat\common\Config
|
||||
public function getConfig(): Config
|
||||
{
|
||||
return $this->config;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user