Skip to content

Commit

Permalink
Added a default value for getWireType second parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
drslump committed Mar 14, 2012
1 parent da4a455 commit 3d3df9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/DrSlump/Protobuf/Codec/Binary.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ protected function assertWireType($wire, $type)
}
}

protected function getWireType($type, $default)
protected function getWireType($type, $default = null)
{
static $map = array(
Protobuf::TYPE_INT32 => self::WIRE_VARINT,
Expand Down

0 comments on commit 3d3df9e

Please sign in to comment.