Completed
Push — master ( 354d47...00c601 )
by Carlos
04:59
created
src/Wechat/Shop/Shelf.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -37,9 +37,9 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * 添加货架
39 39
      *
40
-     * @param $shelfData
41
-     * @param $shelfBanner
42
-     * @param $shelfName
40
+     * @param \Closure $shelfData
41
+     * @param string $shelfBanner
42
+     * @param string $shelfName
43 43
      * @return int
44 44
      * @throws ShopsException
45 45
      */
@@ -87,8 +87,8 @@  discard block
 block discarded – undo
87 87
      *
88 88
      * @param array|callable $shelfData
89 89
      * @param $shelfId
90
-     * @param $shelfBanner
91
-     * @param $shelfName
90
+     * @param string $shelfBanner
91
+     * @param string $shelfName
92 92
      * @return bool
93 93
      * @throws ShopsException
94 94
      */
Please login to merge, or discard this patch.
src/Wechat/Shop/Stock.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * 增加库存
34 34
      *
35
-     * @param $productId
35
+     * @param string $productId
36 36
      * @param $quantity
37 37
      * @param string|array $skuInfo
38 38
      * @return bool
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     /**
54 54
      * 减少库存
55 55
      *
56
-     * @param array $productId
56
+     * @param string $productId
57 57
      * @param string|array $skuInfo
58 58
      * @param int $quantity
59 59
      * @return bool
Please login to merge, or discard this patch.
test/Shop/ProductTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Overtrue\Wechat\Test\TestBase;
15 15
 use Symfony\Component\Yaml\Yaml;
16 16
 use Overtrue\Wechat\Shop\Data\Product as ProductData;
17
-use Overtrue\Wechat\Media;
18 17
 
19 18
 class ProductTest extends TestBase
20 19
 {
Please login to merge, or discard this patch.