Completed
Push — master ( aaf4d6...554ca3 )
by Taosikai
108:25 queued 93:27
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
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      *
22 22
      * @param string $IDCardBody
23 23
      *
24
-     * @return bool|number
24
+     * @return false|string
25 25
      */
26 26
     public static function calcIDCardCode($IDCardBody)
27 27
     {
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      *
47 47
      * @param number $id
48 48
      *
49
-     * @return bool|string
49
+     * @return false|string
50 50
      */
51 51
     public static function convertIDCard15to18($id)
52 52
     {
Please login to merge, or discard this patch.