Skip to content

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

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

[PHP] Changed parameter type from long to integer#7613
haberman merged 1 commit intoprotocolbuffers:masterfrom
landsem:patch-1

Conversation

@landsem
Copy link
Copy Markdown
Contributor

@landsem landsem commented Jun 10, 2020

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