Skip to content

Commit 26db34a

Browse files
Try
1 parent 1e2cee5 commit 26db34a

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

conf/config.neon

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,11 +1541,6 @@ services:
15411541
tags:
15421542
- phpstan.broker.dynamicFunctionReturnTypeExtension
15431543

1544-
-
1545-
class: PHPStan\Type\Php\GetenvFunctionReturnTypeExtension
1546-
tags:
1547-
- phpstan.broker.dynamicFunctionReturnTypeExtension
1548-
15491544
-
15501545
class: PHPStan\Type\Php\GetParentClassDynamicFunctionReturnTypeExtension
15511546
tags:

resources/functionMap_php80delta.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@
7878
'imagejpeg' => ['bool', 'im'=>'GdImage', 'filename='=>'string|resource|null', 'quality='=>'int'],
7979
'imagerotate' => ['false|object', 'src_im'=>'resource', 'angle'=>'float', 'bgdcolor'=>'int', 'ignoretransparent='=>'int'],
8080
'imagescale' => ['false|object', 'im'=>'resource', 'new_width'=>'int', 'new_height='=>'int', 'method='=>'int'],
81-
'getenv' => ['array<string, string>|string|false', 'varname'=>'string|null', 'local_only='=>'bool'],
82-
'getenv\'1' => ['array<string, string>'],
81+
'getenv' => ['array<string, string>', 'varname'=>'null', 'local_only='=>'bool'],
82+
'getenv\'1' => ['string|false', 'varname'=>'string', 'local_only='=>'bool'],
83+
'getenv\'2' => ['array<string, string>|string|false', 'varname'=>'string|null', 'local_only='=>'bool'],
84+
'getenv\'3' => ['array<string, string>'],
8385
'ldap_set_rebind_proc' => ['bool', 'ldap'=>'resource', 'callback'=>'?callable'],
8486
'mb_decode_numericentity' => ['string|false', 'string'=>'string', 'convmap'=>'array', 'encoding='=>'string'],
8587
'mb_encoding_aliases' => ['list<non-falsy-string>', 'encoding'=>'string'],

0 commit comments

Comments
 (0)