Skip to content

Commit

Permalink
Fix typo (#2408)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Mar 25, 2022
1 parent a7f709d commit c4890c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/6.x/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $app = new Application($config);
在创建实例后,所有的方法都几乎可以有 IDE 自动补全,当然,建议先阅读各模块的文档了解一下它们的区别,这里我们以调用公众号获取用户资料为例:

```php
$response = $app->getClient()->get("/cgi-bin/user/info?openid=${$openid}&lang=zh_CN");
$response = $app->getClient()->get("/cgi-bin/user/info?openid={$openid}&lang=zh_CN");

# 查看返回结果
var_dump($response->toArray());
Expand Down

1 comment on commit c4890c7

@vercel
Copy link

@vercel vercel bot commented on c4890c7 Mar 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.