{"action":"opened","issue":{"url":"https://api.github.com/repos/top-think/framework/issues/135","repository_url":"https://api.github.com/repos/top-think/framework","labels_url":"https://api.github.com/repos/top-think/framework/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/top-think/framework/issues/135/comments","events_url":"https://api.github.com/repos/top-think/framework/issues/135/events","html_url":"https://github.com/top-think/framework/issues/135","id":160843259,"number":135,"title":"Query 的注释问题","user":{"login":"cbwfree","id":7790202,"avatar_url":"https://avatars.githubusercontent.com/u/7790202?v=3","gravatar_id":"","url":"https://api.github.com/users/cbwfree","html_url":"https://github.com/cbwfree","followers_url":"https://api.github.com/users/cbwfree/followers","following_url":"https://api.github.com/users/cbwfree/following{/other_user}","gists_url":"https://api.github.com/users/cbwfree/gists{/gist_id}","starred_url":"https://api.github.com/users/cbwfree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbwfree/subscriptions","organizations_url":"https://api.github.com/users/cbwfree/orgs","repos_url":"https://api.github.com/users/cbwfree/repos","events_url":"https://api.github.com/users/cbwfree/events{/privacy}","received_events_url":"https://api.github.com/users/cbwfree/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-17T09:03:53Z","updated_at":"2016-06-17T09:03:53Z","closed_at":null,"body":"1. 已经不存在 `DbException` 对象了, 但 Query 中还在 use\r\n2. 不知道什么时候 Query 的 @return 注释修改成了 `@return $this`, 在链式写法时 PhpStrom 不支持此代码提示. 使用 `@return Query 可以正常提示\r\n3. `db` 帮助函数 `@return ` 除了使用 `\\think\\db\\Connection` 还应该加上 `\\think\\db\\Query` 即 `@return \\think\\db\\Connection|\\think\\db\\Query`.  同样的 Db 类的 connect 方法 @return 也应加上 `\\think\\db\\Query`  返回\r\n"}}
{"actor":{"display_login":"cbwfree"}}