Skip to content

Commit 01f0aa7

Browse files
committed
Add comments
1 parent 248d58f commit 01f0aa7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/IdValidator.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,11 @@ private function _getAddressInfo($addressCode)
190190
}
191191
}
192192

193+
/**
194+
* 获取星座信息
195+
* @param string $birthdayCode 出生日期码
196+
* @return string
197+
*/
193198
public function _getConstellation($birthdayCode)
194199
{
195200
$constellationList = $this->_getConstellationList();
@@ -222,6 +227,11 @@ public function _getConstellation($birthdayCode)
222227
return '';
223228
}
224229

230+
/**
231+
* 获取生肖信息
232+
* @param string $birthdayCode 出生日期码
233+
* @return mixed
234+
*/
225235
public function _getChineseZodiac($birthdayCode)
226236
{
227237
$chineseZodiacList = $this->_getChineseZodiacList();
@@ -408,6 +418,7 @@ private function _generatorBirthdayCode()
408418
}
409419

410420
/**
421+
* 获取生肖列表
411422
* @return array
412423
*/
413424
private function _getChineseZodiacList()
@@ -416,6 +427,7 @@ private function _getChineseZodiacList()
416427
}
417428

418429
/**
430+
* 获取星座列表
419431
* @return array
420432
*/
421433
private function _getConstellationList()

0 commit comments

Comments
 (0)