Skip to content

Commit

Permalink
Merge pull request #120 from cexll/fix-grpc-class
Browse files Browse the repository at this point in the history
optimize 对象总是引用
onanying authored Aug 24, 2022
2 parents b5cd91f + ae70aeb commit 4f495f2
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
@@ -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));
}

0 comments on commit 4f495f2

Please sign in to comment.