Skip to content

Commit 8233576

Browse files
committed
Apply fixes from StyleCI
1 parent 02d222f commit 8233576

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Helper.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,8 @@ private function _getConstellation($birthdayCode)
117117
return $this->_constellationList[$month]['name'];
118118
}
119119

120-
121-
$key = (int)$month - 1; // 1月份以特殊处理
122-
$key = strlen($key) == 1 ? $this->_getStrPad($key) : (string)$key;
120+
$key = (int) $month - 1; // 1月份以特殊处理
121+
$key = strlen($key) == 1 ? $this->_getStrPad($key) : (string) $key;
123122

124123
$startDate = $year.'-'.$this->_constellationList[$key]['start_date'];
125124
$endDate = $year.'-'.$this->_constellationList[$key]['end_date'];

0 commit comments

Comments
 (0)