Skip to content

Commit

Permalink
fix: matching return types with parent (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
joester89 committed May 4, 2023
1 parent 43d2a41 commit db708af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Wb/BigRegister/SoapClient/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function __construct($wsdl = null, array $userOptions = array(), Cache $c
}
}

public function __call($method, $arguments)
public function __call($method, $arguments): mixed
{
try {
return parent::__call($method, $arguments);
Expand All @@ -80,7 +80,7 @@ public function __call($method, $arguments)
}
}

public function __doRequest($request, $location, $action, $version, $one_way = 0 )
public function __doRequest($request, $location, $action, $version, $one_way = 0 ): ?string
{
$id = md5($request . $location . $action . $version);
if ($this->cache && $this->cache->contains($id)) {
Expand Down

0 comments on commit db708af

Please sign in to comment.