Skip to content

Commit 3d3df9e

Browse files
committed
Added a default value for getWireType second parameter
1 parent da4a455 commit 3d3df9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/DrSlump/Protobuf/Codec/Binary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ protected function assertWireType($wire, $type)
330330
}
331331
}
332332

333-
protected function getWireType($type, $default)
333+
protected function getWireType($type, $default = null)
334334
{
335335
static $map = array(
336336
Protobuf::TYPE_INT32 => self::WIRE_VARINT,

0 commit comments

Comments
 (0)