spaces to tab fix

This commit is contained in:
Raffael Sahli 2018-08-24 16:37:47 +02:00 committed by Robin Appelman
commit 99f721a436
5 changed files with 60 additions and 60 deletions

View file

@ -345,24 +345,24 @@ class Share extends AbstractShare {
});
}
/**
* Append to stream
* Note: smbclient does not support it so we use php-libsmbclient
*
* @param string $target
*
* @throws \Icewind\SMB\Exception\DependencyException
* @throws \Icewind\SMB\Exception\NotFoundException
* @throws \Icewind\SMB\Exception\InvalidTypeException
/**
* Append to stream
* Note: smbclient does not support it so we use php-libsmbclient
*
* @param string $target
*
* @throws \Icewind\SMB\Exception\DependencyException
* @throws \Icewind\SMB\Exception\NotFoundException
* @throws \Icewind\SMB\Exception\InvalidTypeException
*/
public function append($target) {
if (!NativeServer::available($this->server->getSystem())) {
throw new DependencyException('php-libsmbclient not installed');
}
public function append($target) {
if (!NativeServer::available($this->server->getSystem())) {
throw new DependencyException('php-libsmbclient not installed');
}
$share = new NativeShare($this->server, $this->getName());
return $share->append($target);
}
$share = new NativeShare($this->server, $this->getName());
return $share->append($target);
}
/**
* @param string $path