Completed
Push — master ( 8fae0f...b69ce8 )
by Taosikai
14:32
created
src/China/IDCard/IDCard.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
      */
19 19
     protected $id;
20 20
 
21
+    /**
22
+     * @param string $id
23
+     */
21 24
     public function __construct($id)
22 25
     {
23 26
         static::assertValidIDCard($id);
Please login to merge, or discard this patch.
src/China/IDCard/IDCardUtils.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * 计算身份证最后一位
21 21
      * @param string $IDCardBody
22
-     * @return bool|number
22
+     * @return false|string
23 23
      */
24 24
     public static function calcIDCardCode($IDCardBody)
25 25
     {
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     /**
42 42
      * 将15位身份证升级到18位
43 43
      * @param number $id
44
-     * @return bool|string
44
+     * @return false|string
45 45
      */
46 46
     public static function convertIDCard15to18($id)
47 47
     {
Please login to merge, or discard this patch.
src/China/Region/RegionService.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use China\Common\ResourceFile;
13 13
 use China\IDCard\IDCard;
14 14
 use China\Region\Location\AddressInterface;
15
-use Doctrine\Common\Collections\ArrayCollection;
16 15
 use Doctrine\Common\Collections\Collection;
17 16
 
18 17
 class RegionService implements RegionServiceInterface
Please login to merge, or discard this patch.