Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

Commit 6dbc148

Browse files
author
justmd5
committed
优化获取配置代码
1 parent 8423cee commit 6dbc148

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core/CoreServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class CoreServiceProvider implements ServiceProviderInterface
2525
public function register(Container $pimple)
2626
{
2727
$pimple['signature'] = function (Foundation $pimple) {
28-
return new Signature($pimple->getConfig()['appKey'], $pimple->getConfig()['appSecret']);
28+
return new Signature($pimple->getConfig('appKey'), $pimple->getConfig('appSecret'));
2929
};
3030
}
3131
}

0 commit comments

Comments
 (0)