Skip to content

Commit e9f45d8

Browse files
committed
fix: 标记环境函数为弃用,建议使用新的替代方法
1 parent f86a373 commit e9f45d8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Environment.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
* @method bool isDevelop()
2424
* @method bool isProduction()
2525
* @method bool isOnline()
26+
* @deprecated since 3.1, use `Str::is($patterns, env('APP_ENV'))` instead, will removed in 3.2.
2627
*/
2728
class Environment
2829
{

0 commit comments

Comments
 (0)