Commit 2149f01
committed
fix: add updated signature for
Add the following signature for `getenv`:
getenv(?string $name = null, bool $local_only = false): string|array|false
to the function map (specifically for PHP 8 and above). This replaces all
existing signatures, and should fix [13065][1].
[1]: phpstan/phpstan#13065getenv
1 parent d4107e4 commit 2149f01
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
0 commit comments