Skip to content
This repository was archived by the owner on Jan 12, 2021. It is now read-only.

Commit 163c0ff

Browse files
committed
Add default values to several method signatures.
1 parent a5ad230 commit 163c0ff

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

stubs/ProtobufMessage.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function clear($position)
4747
*
4848
* @return string
4949
*/
50-
public function dump($onlySet = true, $indentation)
50+
public function dump($onlySet = true, $indentation = 0)
5151
{
5252

5353
}
@@ -67,7 +67,7 @@ public function count($position)
6767
*
6868
* @return mixed
6969
*/
70-
public function get($position)
70+
public function get($position = -1)
7171
{
7272

7373
}
@@ -100,9 +100,8 @@ public function serializeToString()
100100
*
101101
* @return null
102102
*/
103-
public function set($position, $value)
103+
public function set($position = -1, $value)
104104
{
105105

106106
}
107-
108107
}

0 commit comments

Comments
 (0)