From 329b05aaf8f832d838f0f145e9f6c16e7ade8a5e Mon Sep 17 00:00:00 2001 From: AndrolGenhald Date: Thu, 9 Dec 2021 14:33:24 -0600 Subject: [PATCH] Add SoapFault stub. --- stubs/extensions/soap.phpstub | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/stubs/extensions/soap.phpstub b/stubs/extensions/soap.phpstub index 6169ca4c8ec..5b11e641bf0 100644 --- a/stubs/extensions/soap.phpstub +++ b/stubs/extensions/soap.phpstub @@ -282,3 +282,17 @@ class SoapClient { public function __setSoapHeaders ($soapheaders = null) {} } + +class SoapFault extends Exception { + /** + * @param array|string|null $code + */ + public function __construct( + $code, + string $string, + ?string $actor = null, + mixed $details = null, + ?string $name = null, + mixed $headerFault = null + ) {} +}