getWireType()
OlivierChirouze opened this issue · 0 comments
OlivierChirouze commented
Hi,
First time I used this interface (I'm also a newbie in protobuff in general), and got pages of warnings when trying to compile even one of the example proto file.
Turned out I had to change line 249 of Binary.php from:
$wire = $this->getWireType($type);
to:
$wire = $this->getWireType($type, null);
Seems like it stopped the original php warning that was triggering a bunch of other errors.
Hope it helps