commit | 3abf7ecbda08629673828895a99cfa07920a0a5b | [log] [tgz] |
---|---|---|
author | vladimir.panivko <vladimir.panivko@together.com> | Thu Jul 06 08:55:46 2023 +0200 |
committer | Jens Geyer <Jens-G@users.noreply.github.com> | Fri Jul 07 21:34:31 2023 +0200 |
tree | fbb38c2417396cc7d618be8ffb12678bf2e6a3a1 | |
parent | 284e6b30b8d6fe4522daf0c6982aa7eac8b8d01e [diff] |
THRIFT-5723 Php8.1 fix warnings
diff --git a/lib/php/lib/Exception/TException.php b/lib/php/lib/Exception/TException.php index 7dbf832..228d761 100644 --- a/lib/php/lib/Exception/TException.php +++ b/lib/php/lib/Exception/TException.php
@@ -52,7 +52,7 @@ } } } else { - parent::__construct($p1, $p2); + parent::__construct((string)$p1, $p2); } }
diff --git a/lib/php/src/Thrift.php b/lib/php/src/Thrift.php index 4fe4392..0364c90 100644 --- a/lib/php/src/Thrift.php +++ b/lib/php/src/Thrift.php
@@ -82,7 +82,7 @@ } } } else { - parent::__construct($p1, $p2); + parent::__construct((string)$p1, $p2); } }