diff --git a/src/RPC/RPC.php b/src/RPC/RPC.php index e31d91b..1e07e9f 100644 --- a/src/RPC/RPC.php +++ b/src/RPC/RPC.php @@ -112,6 +112,8 @@ public static function create(string $connection, CodecInterface $codec = null): * @return RPCInterface * * @psalm-suppress UndefinedClass + * @psalm-suppress DeprecatedMethod + * @deprecated */ public static function fromEnvironment(EnvironmentInterface $env, CodecInterface $codec = null): RPCInterface { @@ -125,6 +127,8 @@ public static function fromEnvironment(EnvironmentInterface $env, CodecInterface * @return RPCInterface * * @psalm-suppress UndefinedClass + * @psalm-suppress DeprecatedMethod + * @deprecated */ public static function fromGlobals(CodecInterface $codec = null): RPCInterface {