Skip to content

Commit e711602

Browse files
authored
PHP 8.5 - Fix SoapClient doRequest (#288)
* Fix NTLMSoapClient doRequest for PHP 8.5 * Enable tests on PHP 8.5
1 parent 7618ec4 commit e711602

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
strategy:
77
fail-fast: false
88
matrix:
9-
php: [ '8.1', '8.2', '8.3', '8.4' ]
9+
php: [ '8.1', '8.2', '8.3', '8.4', '8.5' ]
1010
name: PHP ${{ matrix.php }}
1111
steps:
1212
- name: Checkout

src/API/NTLMSoapClient.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,10 +187,11 @@ public function __construct($location, $auth, $wsdl, $options = array())
187187
* @param string $action the soap action.
188188
* @param integer $version the soap version
189189
* @param integer $one_way
190+
* @param string $uriParserClass
190191
* @return string the xml soap response.
191192
*/
192193
#[\ReturnTypeWillChange]
193-
public function __doRequest($request, $location, $action, $version, $one_way = 0)
194+
public function __doRequest($request, $location, $action, $version, $one_way = 0, ?string $uriParserClass = null)
194195
{
195196
$postOptions = array(
196197
'body' => $request,

0 commit comments

Comments
 (0)