Visitar URL original
[PHP] Changed parameter type from long to integer by landsem · Pull Request #7613 · protocolbuffers/protobuf · GitHub
Skip to content

[PHP] Changed parameter type from long to integer - #7613

Merged
haberman merged 1 commit into
protocolbuffers:masterfrom
landsem:patch-1
Feb 17, 2021
Merged

haberman merged 1 commit into
protocolbuffers:masterfrom
landsem:patch-1

Conversation

@landsem

@landsem landsem commented Jun 10, 2020

Copy link
Copy Markdown
Contributor

PHP does not have a long type, and IDEs don't necessarily understand that long is the same as integer.
E.g. PhpStorm will give an error like this: Expected parameter of type '\Google\Protobuf\Internal\long', 'int' provided

PHP does not have a long type, and IDEs don't necessarily understand that long is the same as integer. 
E.g. PhpStorm will give an error like this: `Expected parameter of type '\Google\Protobuf\Internal\long', 'int' provided`
@landsem landsem changed the title Changed parameter type from long to integer [PHP] Changed parameter type from long to integer Jun 10, 2020
@haberman
haberman merged commit 2653fc8 into protocolbuffers:master Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants