mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
Add @throws to phpdoc
This commit is contained in:
parent
2ed803907f
commit
114dae07e1
2 changed files with 9 additions and 0 deletions
|
|
@ -35,6 +35,12 @@ abstract class Command {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $lines
|
* @param $lines
|
||||||
|
*
|
||||||
|
* @throws \SMB\NotFoundException
|
||||||
|
* @throws \SMB\AlreadyExistsException
|
||||||
|
* @throws \SMB\AccessDeniedException
|
||||||
|
* @throws \SMB\NotEmptyException
|
||||||
|
* @throws \Exception
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
protected function parseOutput($lines) {
|
protected function parseOutput($lines) {
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,8 @@ class Put extends Command {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $lines
|
* @param $lines
|
||||||
|
*
|
||||||
|
* @throws \SMB\NotFoundException
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
protected function parseOutput($lines) {
|
protected function parseOutput($lines) {
|
||||||
|
|
@ -29,6 +31,7 @@ class Put extends Command {
|
||||||
} else {
|
} else {
|
||||||
parent::parseOutput($lines);
|
parent::parseOutput($lines);
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue