mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-06-03 17:44:06 +02:00
Add some more phpdoc typings
This commit is contained in:
parent
634f9c28d3
commit
82bcf2cebb
3 changed files with 20 additions and 0 deletions
|
|
@ -65,6 +65,11 @@ class BasicSearch implements XmlDeserializable {
|
|||
*/
|
||||
public $limit;
|
||||
|
||||
/**
|
||||
* @param Reader $reader
|
||||
* @return BasicSearch
|
||||
* @throws ParseException
|
||||
*/
|
||||
static function xmlDeserialize(Reader $reader) {
|
||||
$search = new self();
|
||||
|
||||
|
|
|
|||
|
|
@ -30,9 +30,21 @@ class PropDesc implements XmlSerializable {
|
|||
* @var string[]
|
||||
*/
|
||||
public $properties = [];
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $dataType;
|
||||
/**
|
||||
* @var boolean
|
||||
*/
|
||||
public $searchable;
|
||||
/**
|
||||
* @var boolean
|
||||
*/
|
||||
public $selectable;
|
||||
/**
|
||||
* @var boolean
|
||||
*/
|
||||
public $sortable;
|
||||
|
||||
function xmlSerialize(Writer $writer) {
|
||||
|
|
|
|||
|
|
@ -26,6 +26,9 @@ use Sabre\DAV\Xml\Element\Response;
|
|||
use Sabre\Xml\Writer;
|
||||
|
||||
class QueryDiscoverResponse extends Response {
|
||||
/**
|
||||
* @var BasicSearchSchema|null
|
||||
*/
|
||||
protected $schema;
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue