Skip to content

Commit 26b2165

Browse files
committed
revert: make enum
1 parent e72b6fa commit 26b2165

File tree

4 files changed

+4
-56
lines changed

4 files changed

+4
-56
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ php8.1 版本后内置枚举支持,更多信息可以查看:https://www.php.
2626

2727
## 安装
2828

29-
支持 Laravel 10/Lumen 10 以上版本:
29+
支持 Laravel 10 以上版本:
3030

3131
```shell
3232
$ composer require jiannei/laravel-enum -vvv
@@ -129,13 +129,13 @@ $array = UserTypeEnum::toSelectArray();// 支持多语言配置
129129

130130
### 枚举转换和校验
131131

132-
- https://laravel.com/docs/10.x/requests#retrieving-enum-input-values
133-
- https://laravel.com/docs/10.x/validation#rule-enum
132+
- https://laravel.com/docs/11.x/requests#retrieving-enum-input-values
133+
- https://laravel.com/docs/11.x/validation#rule-enum
134134

135135

136136
### Model 中的枚举转换
137137

138-
- https://laravel.com/docs/10.x/eloquent-mutators#enum-casting
138+
- https://laravel.com/docs/11.x/eloquent-mutators#enum-casting
139139

140140
## License
141141

src/Console/Commands/MakeEnumCommand.php

Lines changed: 0 additions & 36 deletions
This file was deleted.

stubs/enum/int.stub

Lines changed: 0 additions & 8 deletions
This file was deleted.

stubs/enum/string.stub

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)