Skip to content

Commit

Permalink
fix: 标记环境函数为弃用,建议使用新的替代方法
Browse files Browse the repository at this point in the history
  • Loading branch information
huangdijia committed Nov 29, 2024
1 parent f86a373 commit e9f45d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* @method bool isDevelop()
* @method bool isProduction()
* @method bool isOnline()
* @deprecated since 3.1, use `Str::is($patterns, env('APP_ENV'))` instead, will removed in 3.2.
*/
class Environment
{
Expand Down

0 comments on commit e9f45d8

Please sign in to comment.