diff options
Diffstat (limited to 'php/src/Google/Protobuf/Internal/OneofDescriptor.php')
-rw-r--r-- | php/src/Google/Protobuf/Internal/OneofDescriptor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/php/src/Google/Protobuf/Internal/OneofDescriptor.php b/php/src/Google/Protobuf/Internal/OneofDescriptor.php index 04988737..57961f39 100644 --- a/php/src/Google/Protobuf/Internal/OneofDescriptor.php +++ b/php/src/Google/Protobuf/Internal/OneofDescriptor.php @@ -48,7 +48,7 @@ class OneofDescriptor return $this->name; } - public function addField(&$field) + public function addField(Descriptor $field) { $this->fields[] = $field; } |