Skip to content

Fix 5 class method signatures to match php-src stubs#5360

Open
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:fix/class-methods-sync-src-v2
Open

Fix 5 class method signatures to match php-src stubs#5360
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:fix/class-methods-sync-src-v2

Conversation

@lacatoire
Copy link
Contributor

Summary

Fix signatures for 5 class methods to match php-src stubs:

  • PDOStatement::setFetchMode: booltrue
  • Phar::setStub: booltrue
  • PharData::setStub: booltrue, $len$length
  • ReflectionClass::getStaticPropertyValue: $def_value$default
  • IntlBreakIterator::getPartsIterator: param type stringint

Reference

- PDOStatement::setFetchMode: bool -> true
- Phar::setStub: bool -> true
- PharData::setStub: bool -> true, $len -> $length
- ReflectionClass::getStaticPropertyValue: $def_value -> $default
- IntlBreakIterator::getPartsIterator: param type string -> int
@lacatoire lacatoire force-pushed the fix/class-methods-sync-src-v2 branch from 1146f59 to c56c43c Compare February 6, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant