diff options
author | Paul Yang <TeBoring@users.noreply.github.com> | 2019-07-01 14:34:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-01 14:34:16 -0700 |
commit | 15929e1b16a039735ea127429a1675969d6de6d9 (patch) | |
tree | f1abc2d503251d04aa59ffe8b0c249aab1c2364e /src | |
parent | 2c2267cf2f4f5c8d41a3d6c2274d424635363773 (diff) | |
download | protobuf-15929e1b16a039735ea127429a1675969d6de6d9.tar.gz |
Revert "Make php message class final to avoid mocking (#6277)" (#6324)
This reverts commit 7f84a943667358a53bd5d255ee9769ca83e75cd9.
This is just temporary. Eventually, we still want to roll forward this
change. Some users are complaining they need more time to clean up their
code.
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/compiler/php/php_generator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/php/php_generator.cc b/src/google/protobuf/compiler/php/php_generator.cc index 232db80b5..66bc5a3e1 100644 --- a/src/google/protobuf/compiler/php/php_generator.cc +++ b/src/google/protobuf/compiler/php/php_generator.cc @@ -1265,7 +1265,7 @@ void GenerateMessageFile(const FileDescriptor* file, const Descriptor* message, } printer.Print( - "final class ^name^ extends \\Google\\Protobuf\\Internal\\Message\n" + "class ^name^ extends \\Google\\Protobuf\\Internal\\Message\n" "{\n", "name", fullname); Indent(&printer); |