Completed
Push — master ( a679b5...bc4430 )
by Carlos
03:34
created
src/Card/Card.php 1 patch
Doc Comments   +26 added lines, -26 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     /**
76 76
      * 获取卡券颜色.
77 77
      *
78
-     * @return array
78
+     * @return \EasyWeChat\Support\Collection
79 79
      */
80 80
     public function getColors()
81 81
     {
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      *
120 120
      * @param array $cards
121 121
      *
122
-     * @return array|bool
122
+     * @return \EasyWeChat\Support\Collection
123 123
      */
124 124
     public function QRCode($cards = [])
125 125
     {
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
      *                          SCENE_H5 h5页面,SCENE_IVR 自动回复,SCENE_CARD_CUSTOM_CELL 卡券自定义cell]
252 252
      * @param array  $cardList
253 253
      *
254
-     * @return array
254
+     * @return \EasyWeChat\Support\Collection
255 255
      */
256 256
     public function createLandingPage($banner, $pageTitle, $canShare, $scene, $cardList)
257 257
     {
@@ -272,7 +272,7 @@  discard block
 block discarded – undo
272 272
      * @param string $cardId
273 273
      * @param array  $code
274 274
      *
275
-     * @return array
275
+     * @return \EasyWeChat\Support\Collection
276 276
      */
277 277
     public function deposit($cardId, $code)
278 278
     {
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
      *
290 290
      * @param string $cardId
291 291
      *
292
-     * @return array
292
+     * @return \EasyWeChat\Support\Collection
293 293
      */
294 294
     public function getDepositedCount($cardId)
295 295
     {
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
      * @param string $cardId
307 307
      * @param array  $code
308 308
      *
309
-     * @return array
309
+     * @return \EasyWeChat\Support\Collection
310 310
      */
311 311
     public function checkCode($cardId, $code)
312 312
     {
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
      *
324 324
      * @param string $cardId
325 325
      *
326
-     * @return array
326
+     * @return \EasyWeChat\Support\Collection
327 327
      */
328 328
     public function getHtml($cardId)
329 329
     {
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
      * @param array $openid
341 341
      * @param array $username
342 342
      *
343
-     * @return array
343
+     * @return \EasyWeChat\Support\Collection
344 344
      */
345 345
     public function setTestWhitelist($openid, $username)
346 346
     {
@@ -359,7 +359,7 @@  discard block
 block discarded – undo
359 359
      * @param bool   $checkConsume
360 360
      * @param string $cardId
361 361
      *
362
-     * @return array
362
+     * @return \EasyWeChat\Support\Collection
363 363
      */
364 364
     public function getCode($code, $checkConsume, $cardId)
365 365
     {
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
      * @param string $cardId
379 379
      * @param string $code
380 380
      *
381
-     * @return array
381
+     * @return \EasyWeChat\Support\Collection
382 382
      */
383 383
     public function consume($cardId, $code)
384 384
     {
@@ -395,7 +395,7 @@  discard block
 block discarded – undo
395 395
      *
396 396
      * @param string $encryptedCode
397 397
      *
398
-     * @return array
398
+     * @return \EasyWeChat\Support\Collection
399 399
      */
400 400
     public function decryptCode($encryptedCode)
401 401
     {
@@ -412,7 +412,7 @@  discard block
 block discarded – undo
412 412
      * @param string $openid
413 413
      * @param string $cardId
414 414
      *
415
-     * @return array
415
+     * @return \EasyWeChat\Support\Collection
416 416
      */
417 417
     public function getUserCards($openid, $cardId = '')
418 418
     {
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
      *
430 430
      * @param string $cardId
431 431
      *
432
-     * @return array
432
+     * @return \EasyWeChat\Support\Collection
433 433
      */
434 434
     public function getCard($cardId)
435 435
     {
@@ -447,7 +447,7 @@  discard block
 block discarded – undo
447 447
      * @param int    $count
448 448
      * @param string $statusList
449 449
      *
450
-     * @return array
450
+     * @return \EasyWeChat\Support\Collection
451 451
      */
452 452
     public function lists($offset = 0, $count = 10, $statusList = 'CARD_STATUS_VERIFY_OK')
453 453
     {
@@ -468,7 +468,7 @@  discard block
 block discarded – undo
468 468
      * @param array  $baseInfo
469 469
      * @param array  $especial
470 470
      *
471
-     * @return array
471
+     * @return \EasyWeChat\Support\Collection
472 472
      */
473 473
     public function update($cardId, $type, $baseInfo = [], $especial = [])
474 474
     {
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
      * @param string $cardId
492 492
      * @param bool   $isOpen
493 493
      *
494
-     * @return array
494
+     * @return \EasyWeChat\Support\Collection
495 495
      */
496 496
     public function setPayCell($cardId, $isOpen = true)
497 497
     {
@@ -536,7 +536,7 @@  discard block
 block discarded – undo
536 536
      * @param string $newCode
537 537
      * @param array  $cardId
538 538
      *
539
-     * @return array
539
+     * @return \EasyWeChat\Support\Collection
540 540
      */
541 541
     public function updateCode($code, $newCode, $cardId = [])
542 542
     {
@@ -554,7 +554,7 @@  discard block
 block discarded – undo
554 554
      *
555 555
      * @param string $cardId
556 556
      *
557
-     * @return array
557
+     * @return \EasyWeChat\Support\Collection
558 558
      */
559 559
     public function delete($cardId)
560 560
     {
@@ -571,7 +571,7 @@  discard block
 block discarded – undo
571 571
      * @param string $code
572 572
      * @param string $cardId
573 573
      *
574
-     * @return array
574
+     * @return \EasyWeChat\Support\Collection
575 575
      */
576 576
     public function disable($code, $cardId = '')
577 577
     {
@@ -588,7 +588,7 @@  discard block
 block discarded – undo
588 588
      *
589 589
      * @param array $activate
590 590
      *
591
-     * @return array
591
+     * @return \EasyWeChat\Support\Collection
592 592
      */
593 593
     public function activate($activate = [])
594 594
     {
@@ -602,7 +602,7 @@  discard block
 block discarded – undo
602 602
      * @param array  $requiredForm
603 603
      * @param array  $optionalForm
604 604
      *
605
-     * @return array
605
+     * @return \EasyWeChat\Support\Collection
606 606
      */
607 607
     public function activateUserForm($cardId, $requiredForm = [], $optionalForm = [])
608 608
     {
@@ -620,7 +620,7 @@  discard block
 block discarded – undo
620 620
      * @param string $cardId
621 621
      * @param string $code
622 622
      *
623
-     * @return array
623
+     * @return \EasyWeChat\Support\Collection
624 624
      */
625 625
     public function getMemberCardUser($cardId, $code)
626 626
     {
@@ -637,7 +637,7 @@  discard block
 block discarded – undo
637 637
      *
638 638
      * @param array $updateUser
639 639
      *
640
-     * @return array
640
+     * @return \EasyWeChat\Support\Collection
641 641
      */
642 642
     public function updateMemberCardUser($updateUser = [])
643 643
     {
@@ -659,7 +659,7 @@  discard block
 block discarded – undo
659 659
      * @param string $operatorMediaId
660 660
      * @param string $appId
661 661
      *
662
-     * @return array
662
+     * @return \EasyWeChat\Support\Collection
663 663
      */
664 664
     public function subMerchant($brandName, $logoUrl, $protocol, $endTime, $primaryCategoryId, $secondaryCategoryId, $agreementMediaId, $operatorMediaId, $appId = '')
665 665
     {
@@ -683,7 +683,7 @@  discard block
 block discarded – undo
683 683
     /**
684 684
      * 卡券开放类目查询接口.
685 685
      *
686
-     * @return array|bool
686
+     * @return \EasyWeChat\Support\Collection
687 687
      */
688 688
     public function getApplyProtocol()
689 689
     {
@@ -719,7 +719,7 @@  discard block
 block discarded – undo
719 719
      *
720 720
      * @param string $url
721 721
      *
722
-     * @return array
722
+     * @return Card
723 723
      */
724 724
     public function setUrl($url)
725 725
     {
Please login to merge, or discard this patch.