Skip to content

Commit 975315b

Browse files
author
Igor Chepurnoy
authored
Update BooleanEnum.php
1 parent 6c6aedb commit 975315b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

helpers/BooleanEnum.php

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
<?php
2-
namespace yii2mod\enum\helpers;
3-
42

3+
namespace yii2mod\enum\helpers;
54

65
/**
7-
* @author Kravchuk Dmitry
8-
* @package yii2mod\cms\models\enumerables
6+
* Class BooleanEnum
7+
* @package yii2mod\enum\helpers
98
*/
109
class BooleanEnum extends BaseEnum
1110
{
1211
const YES = 1;
1312
const NO = 0;
1413

1514
public static $list = [
16-
self::NO => 'No',
17-
self::YES => 'Yes'
15+
self::YES => 'Yes',
16+
self::NO => 'No'
1817
];
19-
}
18+
}

0 commit comments

Comments
 (0)