Skip to content

Commit c36cb9b

Browse files
authored
Update Facade.php
1 parent c630d36 commit c36cb9b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Facade.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,38 +35,38 @@ public static function getFacadeAccessor()
3535
*/
3636
public static function officialAccount($name = '')
3737
{
38-
return $name ? app('wechat.official_account.' . $name) : app('wechat.official_account');
38+
return $name ? app('wechat.official_account.'.$name) : app('wechat.official_account');
3939
}
4040

4141
/**
4242
* @return \EasyWeChat\Work\AgentFactory
4343
*/
4444
public static function work($name = '')
4545
{
46-
return $name ? app('wechat.work.' . $name) : app('wechat.work');
46+
return $name ? app('wechat.work.'.$name) : app('wechat.work');
4747
}
4848

4949
/**
5050
* @return \EasyWeChat\Payment\Application
5151
*/
5252
public static function payment($name = '')
5353
{
54-
return $name ? app('wechat.payment.' . $name) : app('wechat.payment');
54+
return $name ? app('wechat.payment.'.$name) : app('wechat.payment');
5555
}
5656

5757
/**
5858
* @return \EasyWeChat\MiniProgram\Application
5959
*/
6060
public static function miniProgram($name = '')
6161
{
62-
return $name ? app('wechat.mini_program.' . $name) : app('wechat.mini_program');
62+
return $name ? app('wechat.mini_program.'.$name) : app('wechat.mini_program');
6363
}
6464

6565
/**
6666
* @return \EasyWeChat\OpenPlatform\Application
6767
*/
6868
public static function openPlatform($name = '')
6969
{
70-
return $name ? app('wechat.open_platform.' . $name) : app('wechat.open_platform');
70+
return $name ? app('wechat.open_platform.'.$name) : app('wechat.open_platform');
7171
}
7272
}

0 commit comments

Comments
 (0)