Skip to content

Commit

Permalink
optimize 对象总是引用
Browse files Browse the repository at this point in the history
  • Loading branch information
cexll committed Aug 23, 2022
1 parent 997d1e0 commit ae70aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Helper/GrpcHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static function serialize(\Google\Protobuf\Internal\Message $message): st
* @param string $data
* @throws \Exception
*/
public static function deserialize(\Google\Protobuf\Internal\Message &$message, string $data)
public static function deserialize(\Google\Protobuf\Internal\Message $message, string $data)
{
$message->mergeFromString(static::unpack($data));
}
Expand Down

0 comments on commit ae70aeb

Please sign in to comment.