Completed
Pull Request — master (#445)
by Carlos
03:37
created
src/Staff/Session.php 2 patches
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      *
42 42
      * @param string $account
43 43
      *
44
-     * @return array
44
+     * @return Collection
45 45
      */
46 46
     public function lists($account)
47 47
     {
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * List all waiters of $account.
53 53
      *
54
-     * @return array
54
+     * @return Collection
55 55
      */
56 56
     public function waiters()
57 57
     {
@@ -62,9 +62,9 @@  discard block
 block discarded – undo
62 62
      * Create a session.
63 63
      *
64 64
      * @param string $account
65
-     * @param string $openid
65
+     * @param string $openId
66 66
      *
67
-     * @return bool
67
+     * @return Collection
68 68
      */
69 69
     public function create($account, $openId)
70 70
     {
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      * @param string $account
83 83
      * @param string $openId
84 84
      *
85
-     * @return bool
85
+     * @return Collection
86 86
      */
87 87
     public function close($account, $openId)
88 88
     {
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      *
100 100
      * @param string $openId
101 101
      *
102
-     * @return bool
102
+     * @return Collection
103 103
      */
104 104
     public function get($openId)
105 105
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 namespace EasyWeChat\Staff;
22 22
 
23 23
 use EasyWeChat\Core\AbstractAPI;
24
-use EasyWeChat\Support\Collection;
25 24
 
26 25
 /**
27 26
  * Class Session.
Please login to merge, or discard this patch.