1313 */
1414class KitchenGodSteed extends AbstractCulture
1515{
16- static array $ NUMBERS = [" 一 " , " 二 " , " 三 " , " 四 " , " 五 " , " 六 " , " 七 " , " 八 " , " 九 " , " 十 " , " 十一 " , " 十二 " ];
16+ static array $ NUMBERS = [' 一 ' , ' 二 ' , ' 三 ' , ' 四 ' , ' 五 ' , ' 六 ' , ' 七 ' , ' 八 ' , ' 九 ' , ' 十 ' , ' 十一 ' , ' 十二 ' ];
1717
1818 /**
1919 * 正月初一的干支
@@ -48,7 +48,7 @@ protected function byEarthBranch(int $n): string
4848 */
4949 function getMouse (): string
5050 {
51- return sprintf (" %s鼠偷粮 " , $ this ->byEarthBranch (0 ));
51+ return sprintf (' %s鼠偷粮 ' , $ this ->byEarthBranch (0 ));
5252 }
5353
5454 /**
@@ -58,7 +58,7 @@ function getMouse(): string
5858 */
5959 function getGrass (): string
6060 {
61- return sprintf (" 草子%s分 " , $ this ->byEarthBranch (0 ));
61+ return sprintf (' 草子%s分 ' , $ this ->byEarthBranch (0 ));
6262 }
6363
6464 /**
@@ -68,7 +68,7 @@ function getGrass(): string
6868 */
6969 function getCattle (): string
7070 {
71- return sprintf (" %s牛耕田 " , $ this ->byEarthBranch (1 ));
71+ return sprintf (' %s牛耕田 ' , $ this ->byEarthBranch (1 ));
7272 }
7373
7474 /**
@@ -78,7 +78,7 @@ function getCattle(): string
7878 */
7979 function getFlower (): string
8080 {
81- return sprintf (" 花收%s分 " , $ this ->byEarthBranch (3 ));
81+ return sprintf (' 花收%s分 ' , $ this ->byEarthBranch (3 ));
8282 }
8383
8484 /**
@@ -88,7 +88,7 @@ function getFlower(): string
8888 */
8989 function getDragon (): string
9090 {
91- return sprintf (" %s龙治水 " , $ this ->byEarthBranch (4 ));
91+ return sprintf (' %s龙治水 ' , $ this ->byEarthBranch (4 ));
9292 }
9393
9494 /**
@@ -98,7 +98,7 @@ function getDragon(): string
9898 */
9999 function getHorse (): string
100100 {
101- return sprintf (" %s马驮谷 " , $ this ->byEarthBranch (6 ));
101+ return sprintf (' %s马驮谷 ' , $ this ->byEarthBranch (6 ));
102102 }
103103
104104 /**
@@ -108,7 +108,7 @@ function getHorse(): string
108108 */
109109 function getChicken (): string
110110 {
111- return sprintf (" %s鸡抢米 " , $ this ->byEarthBranch (9 ));
111+ return sprintf (' %s鸡抢米 ' , $ this ->byEarthBranch (9 ));
112112 }
113113
114114 /**
@@ -118,7 +118,7 @@ function getChicken(): string
118118 */
119119 function getSilkworm (): string
120120 {
121- return sprintf (" %s姑看蚕 " , $ this ->byEarthBranch (9 ));
121+ return sprintf (' %s姑看蚕 ' , $ this ->byEarthBranch (9 ));
122122 }
123123
124124 /**
@@ -128,7 +128,7 @@ function getSilkworm(): string
128128 */
129129 function getPig (): string
130130 {
131- return sprintf (" %s屠共猪 " , $ this ->byEarthBranch (11 ));
131+ return sprintf (' %s屠共猪 ' , $ this ->byEarthBranch (11 ));
132132 }
133133
134134 /**
@@ -138,7 +138,7 @@ function getPig(): string
138138 */
139139 function getField (): string
140140 {
141- return sprintf (" 甲田%s分 " , $ this ->byHeavenStem (0 ));
141+ return sprintf (' 甲田%s分 ' , $ this ->byHeavenStem (0 ));
142142 }
143143
144144 /**
@@ -148,7 +148,7 @@ function getField(): string
148148 */
149149 function getCake (): string
150150 {
151- return sprintf (" %s人分饼 " , $ this ->byHeavenStem (2 ));
151+ return sprintf (' %s人分饼 ' , $ this ->byHeavenStem (2 ));
152152 }
153153
154154 /**
@@ -158,7 +158,7 @@ function getCake(): string
158158 */
159159 function getGold (): string
160160 {
161- return sprintf (" %s日得金 " , $ this ->byHeavenStem (7 ));
161+ return sprintf (' %s日得金 ' , $ this ->byHeavenStem (7 ));
162162 }
163163
164164 /**
@@ -168,7 +168,7 @@ function getGold(): string
168168 */
169169 function getPeopleCakes (): string
170170 {
171- return sprintf (" %s人%s丙 " , $ this ->byEarthBranch (2 ), $ this ->byHeavenStem (2 ));
171+ return sprintf (' %s人%s丙 ' , $ this ->byEarthBranch (2 ), $ this ->byHeavenStem (2 ));
172172 }
173173
174174 /**
@@ -178,11 +178,11 @@ function getPeopleCakes(): string
178178 */
179179 function getPeopleHoes (): string
180180 {
181- return sprintf (" %s人%s锄 " , $ this ->byEarthBranch (2 ), $ this ->byHeavenStem (3 ));
181+ return sprintf (' %s人%s锄 ' , $ this ->byEarthBranch (2 ), $ this ->byHeavenStem (3 ));
182182 }
183183
184184 function getName (): string
185185 {
186- return " 灶马头 " ;
186+ return ' 灶马头 ' ;
187187 }
188188}
0 commit comments