Skip to content

Commit 71d0480

Browse files
Revert "Try"
This reverts commit 26db34a.
1 parent 26db34a commit 71d0480

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

conf/config.neon

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

1544+
-
1545+
class: PHPStan\Type\Php\GetenvFunctionReturnTypeExtension
1546+
tags:
1547+
- phpstan.broker.dynamicFunctionReturnTypeExtension
1548+
15441549
-
15451550
class: PHPStan\Type\Php\GetParentClassDynamicFunctionReturnTypeExtension
15461551
tags:

resources/functionMap_php80delta.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,8 @@
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>', '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>'],
81+
'getenv' => ['array<string, string>|string|false', 'varname'=>'string|null', 'local_only='=>'bool'],
82+
'getenv\'1' => ['array<string, string>'],
8583
'ldap_set_rebind_proc' => ['bool', 'ldap'=>'resource', 'callback'=>'?callable'],
8684
'mb_decode_numericentity' => ['string|false', 'string'=>'string', 'convmap'=>'array', 'encoding='=>'string'],
8785
'mb_encoding_aliases' => ['list<non-falsy-string>', 'encoding'=>'string'],

0 commit comments

Comments
 (0)