Skip to content

Commit

Permalink
add env function
Browse files Browse the repository at this point in the history
  • Loading branch information
peterfox committed Nov 2, 2024
1 parent ab8d5c0 commit 29fc9c9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public static function defaultLaravelMethods(): array
{
return [
new ApplyDefaultInsteadOfNullCoalesce('config'),
new ApplyDefaultInsteadOfNullCoalesce('env'),
new ApplyDefaultInsteadOfNullCoalesce('input', new ObjectType('Illuminate\Http\Request')),
new ApplyDefaultInsteadOfNullCoalesce('get', new ObjectType('Illuminate\Support\Env')),
];
Expand Down

0 comments on commit 29fc9c9

Please sign in to comment.