We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02d222f commit 8233576Copy full SHA for 8233576
src/Helper.php
@@ -117,9 +117,8 @@ private function _getConstellation($birthdayCode)
117
return $this->_constellationList[$month]['name'];
118
}
119
120
-
121
- $key = (int)$month - 1; // 1月份以特殊处理
122
- $key = strlen($key) == 1 ? $this->_getStrPad($key) : (string)$key;
+ $key = (int) $month - 1; // 1月份以特殊处理
+ $key = strlen($key) == 1 ? $this->_getStrPad($key) : (string) $key;
123
124
$startDate = $year.'-'.$this->_constellationList[$key]['start_date'];
125
$endDate = $year.'-'.$this->_constellationList[$key]['end_date'];
0 commit comments