modified 修复命名
This commit is contained in:
parent
afd732bae2
commit
8c77fa9685
src/OpenPlatform
|
@ -19,7 +19,7 @@ class ServiceProvider implements ServiceProviderInterface {
|
|||
* {@inheritdoc}.
|
||||
*/
|
||||
public function register(Container $pimple): void {
|
||||
$pimple['fansData'] = static function($app) {
|
||||
$pimple['fans_data'] = static function($app) {
|
||||
return new Client($app);
|
||||
};
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ class ServiceProvider implements ServiceProviderInterface {
|
|||
* {@inheritdoc}.
|
||||
*/
|
||||
public function register(Container $pimple): void {
|
||||
$pimple['userData'] = static function($app) {
|
||||
$pimple['user_data'] = static function($app) {
|
||||
return new Client($app);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue