Skip to content

Commit

Permalink
Fix #4806
Browse files Browse the repository at this point in the history
  • Loading branch information
rlerdorf committed Oct 17, 2023
1 parent d7752ef commit 18a6bfc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ Phan NEWS

??? ?? 2023, Phan 5.4.3 (dev)
-----------------------

New Features(Analysis):
- Automatically inherit `@throws` types from parent methods if `enable_phpdoc_types` is true (which it is by default). (#4757)

Miscellaneous:
- Fix ini_set() signature to take any scalar since PHP 8.1 (#4806)

Mar 03 2023, Phan 5.4.2
-----------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
],

'changed' => [
'ini_set' => [
'old' => ['string|false', 'option'=>'string', 'value'=>'string'],
'new' => ['string|false', 'option'=>'string', 'value'=>'string|int|float|bool|null'],
],
'ldap_add' => [
'old' => ['bool', 'ldap'=>'resource','dn'=>'string','entry'=>'array','controls='=>'?array'],
'new' => ['bool', 'ldap'=>'ldap\connection','dn'=>'string','entry'=>'array','controls='=>'?array'],
Expand Down

0 comments on commit 18a6bfc

Please sign in to comment.