diff options
author | Brent Shaffer <betterbrent@google.com> | 2017-08-01 09:42:46 -0700 |
---|---|---|
committer | Paul Yang <TeBoring@users.noreply.github.com> | 2017-08-01 09:42:46 -0700 |
commit | d32f5b4de3501e1bf3c0bc98d8e74219d47ebe69 (patch) | |
tree | d99b00bb2ec87ac22f6b523aaac009901f840b5f /php/src/Google/Protobuf/Internal/MapEntry.php | |
parent | 072431452a365450c607e9503f51786be44ecf7f (diff) | |
download | protobuf-d32f5b4de3501e1bf3c0bc98d8e74219d47ebe69.tar.gz protobuf-d32f5b4de3501e1bf3c0bc98d8e74219d47ebe69.tar.bz2 protobuf-d32f5b4de3501e1bf3c0bc98d8e74219d47ebe69.zip |
Removes unnecessary pass-by-references in PHP internal classes (#3433)
Diffstat (limited to 'php/src/Google/Protobuf/Internal/MapEntry.php')
-rw-r--r-- | php/src/Google/Protobuf/Internal/MapEntry.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/php/src/Google/Protobuf/Internal/MapEntry.php b/php/src/Google/Protobuf/Internal/MapEntry.php index 926645e1..9c32f1ea 100644 --- a/php/src/Google/Protobuf/Internal/MapEntry.php +++ b/php/src/Google/Protobuf/Internal/MapEntry.php @@ -39,7 +39,7 @@ class MapEntry extends Message public $key; public $value; - public function setKey(&$key) { + public function setKey($key) { $this->key = $key; } @@ -47,7 +47,7 @@ class MapEntry extends Message return $this->key; } - public function setValue(&$value) { + public function setValue($value) { $this->value = $value; } |