eee
This commit is contained in:
+3
-3
@@ -4,7 +4,7 @@ namespace wchat\wx;
|
||||
|
||||
use Kiri\Di\Container;
|
||||
use ReflectionException;
|
||||
use wchat\common\PayConfig;
|
||||
use wchat\common\AppConfig;
|
||||
|
||||
class WxFactory
|
||||
{
|
||||
@@ -12,11 +12,11 @@ class WxFactory
|
||||
|
||||
/**
|
||||
* @param $class
|
||||
* @param PayConfig $config
|
||||
* @param AppConfig $config
|
||||
* @return object|null
|
||||
* @throws ReflectionException
|
||||
*/
|
||||
public static function get($class, PayConfig $config): ?object
|
||||
public static function get($class, AppConfig $config): ?object
|
||||
{
|
||||
$container = Container::instance();
|
||||
$object = $container->get($class);
|
||||
|
||||
Reference in New Issue
Block a user