Skip to content

Fix SNMP data types & optional parameters#194

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
kiler129:snmp-types
May 5, 2020
Merged

Fix SNMP data types & optional parameters#194
ondrejmirtes merged 1 commit intophpstan:masterfrom
kiler129:snmp-types

Conversation

@kiler129
Copy link
Copy Markdown
Contributor

@kiler129 kiler129 commented May 5, 2020

Changes made based on PHP.net & manual tests (since some things at PHP.net are actually broken like default values without values).

Additionally there's a problem with PHPStan missing public properties on \SNMP - is there a map for that?

@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you!

About the properties - you should add them to https://github.com/phpstan/phpstan-src/blob/master/src/Reflection/PhpDefect/PhpDefectClassReflectionExtension.php, thanks :)

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.

2 participants