Completed
Push — master ( a4c1f1...b7c64f )
by Carlos
04:33 queued 38s
created
src/Staff/Staff.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * List all staffs.
40 40
      *
41
-     * @return array
41
+     * @return \EasyWeChat\Support\Collection
42 42
      */
43 43
     public function lists()
44 44
     {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
     /**
49 49
      * List all online staffs.
50 50
      *
51
-     * @return array
51
+     * @return \EasyWeChat\Support\Collection
52 52
      */
53 53
     public function onlines()
54 54
     {
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      * @param string $nickname
63 63
      * @param string $password
64 64
      *
65
-     * @return bool
65
+     * @return \EasyWeChat\Support\Collection
66 66
      */
67 67
     public function create($email, $nickname, $password)
68 68
     {
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      * @param string $nickname
83 83
      * @param string $password
84 84
      *
85
-     * @return bool
85
+     * @return \EasyWeChat\Support\Collection
86 86
      */
87 87
     public function update($email, $nickname, $password)
88 88
     {
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      *
101 101
      * @param string $email
102 102
      *
103
-     * @return bool
103
+     * @return \EasyWeChat\Support\Collection
104 104
      */
105 105
     public function delete($email)
106 106
     {
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
      * @param string $email
118 118
      * @param string $path
119 119
      *
120
-     * @return bool
120
+     * @return \EasyWeChat\Support\Collection
121 121
      */
122 122
     public function avatar($email, $path)
123 123
     {
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
      *
146 146
      * @param string|array $message
147 147
      *
148
-     * @return mixed
148
+     * @return \EasyWeChat\Support\Collection
149 149
      */
150 150
     public function send($message)
151 151
     {
Please login to merge, or discard this patch.
src/Staff/Transformer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     /**
33 33
      * transform message to XML.
34 34
      *
35
-     * @param array|string|AbstractMessage $message
35
+     * @param AbstractMessage $message
36 36
      *
37 37
      * @return array
38 38
      */
Please login to merge, or discard this patch.