phpstan fixes

This commit is contained in:
Robin Appelman 2025-10-25 21:43:15 +02:00
commit 6fe667eaca
2 changed files with 11 additions and 0 deletions

View file

@ -182,6 +182,10 @@ final class NativeState {
if (!$this->state) {
throw new ConnectionException("Not connected");
}
/**
* false positive from wrong reflection info
* @phpstan-ignore arguments.count
*/
$result = @smbclient_rename($this->state, $old, $this->state, $new);
$this->testResult($result, $new);