Skip to content

Commit ce924f6

Browse files
authored
Apply fixes from StyleCI (#10)
Co-authored-by: Bole Chen <[email protected]>
1 parent d9c337d commit ce924f6

File tree

4 files changed

+15
-14
lines changed

4 files changed

+15
-14
lines changed

src/Api.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@ public function __construct(Gongmall $app)
3838
}
3939

4040
/**
41-
* @param string $uri
42-
* @param array $params
41+
* @param string $uri
42+
* @param array $params
4343
*
44-
* @return array
4544
* @throws \JsonException
45+
*
46+
* @return array
4647
*/
4748
public function request(string $uri, $params = []): array
4849
{
@@ -65,7 +66,7 @@ public function request(string $uri, $params = []): array
6566
*
6667
* @see https://opendoc.gongmall.com/overview/jie-kou-gui-fan.html
6768
*
68-
* @param array $paramArr
69+
* @param array $paramArr
6970
*
7071
* @return string
7172
*/
@@ -91,7 +92,7 @@ protected function signature(array $paramArr): string
9192
*
9293
* @see https://opendoc.gongmall.com/dian-qian-he-tong/jie-ru-zhi-nan.html
9394
*
94-
* @param array $data
95+
* @param array $data
9596
*
9697
* @return string
9798
*/

src/Employee.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Employee extends Api
1717
*
1818
* @see https://opendoc.gongmall.com/dian-qian-he-tong/jie-ru-zhi-nan.html
1919
*
20-
* @param array $params
20+
* @param array $params
2121
*
2222
* @return string
2323
*/
@@ -31,7 +31,7 @@ public function getContractUrl(array $params): string
3131
*
3232
* @see https://opendoc.gongmall.com/dian-qian-he-tong/cha-xun-dian-qian-jie-guo.html
3333
*
34-
* @param array $params
34+
* @param array $params
3535
*
3636
* @return array
3737
*
@@ -47,7 +47,7 @@ public function getContractStatus(array $params): array
4747
*
4848
* @see https://opendoc.gongmall.com/dian-qian-he-tong/cha-xun-dian-qian-jie-guo-v2.html
4949
*
50-
* @param array $params
50+
* @param array $params
5151
*
5252
* @return array
5353
*/
@@ -61,7 +61,7 @@ public function getContractStatusV2(array $params): array
6161
*
6262
* @see https://opendoc.gongmall.com/shi-shi-ti-xian/xiu-gai-yin-hang-ka.html
6363
*
64-
* @param array $params
64+
* @param array $params
6565
*
6666
* @return array
6767
*/

src/Gongmall.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
*
1818
* @property Employee $employee
1919
* @property Withdraw $withdraw
20-
* @property Company $company
21-
* @property Push $push
20+
* @property Company $company
21+
* @property Push $push
2222
*/
2323
class Gongmall extends Foundation
2424
{
@@ -29,8 +29,8 @@ class Gongmall extends Foundation
2929
/**
3030
* API 请求
3131
*
32-
* @param string $uri
33-
* @param array $params
32+
* @param string $uri
33+
* @param array $params
3434
*
3535
* @return array
3636
*/

src/Withdraw.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Withdraw extends Api
1717
*
1818
* @see https://opendoc.gongmall.com/suan-shui-xin-xi-cha-xun.html
1919
*
20-
* @param array $params
20+
* @param array $params
2121
*
2222
* @return array
2323
*/

0 commit comments

Comments
 (0)