質問編集履歴

1

定数に間違いがあったので編集しました。

2021/12/08 08:13

投稿

tktail
tktail

スコア72

test CHANGED
File without changes
test CHANGED
@@ -14,17 +14,21 @@
14
14
 
15
15
  class ChargeType {
16
16
 
17
- const STATUS_ZOUTEI = '0';
17
+ const STATUS_HOGE = '0';
18
18
 
19
- const STATUS_ZOUTEI_NAME = '贈呈';
19
+ const STATUS_HOGE_NAME = 'ほげ';
20
+
21
+ const STATUS_FUGA = '1';
22
+
23
+ const STATUS_FUGA_NAME = 'ふが';
20
24
 
21
25
 
22
26
 
23
27
  const STATUS_LIST = [
24
28
 
25
- self::STATUS_ZOUTEI => STATUS_ZOUTEI_NAME,
29
+ self::STATUS_HOGE => STATUS_HOGE_NAME
26
30
 
27
- self::STATUS_SHINKI => STATUS_SHINKI_NAME
31
+ self::STATUS_FUGA => STATUS_FUGA_NAME
28
32
 
29
33
  ]
30
34