mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-06-03 09:34:08 +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;
|
public $limit;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param Reader $reader
|
||||||
|
* @return BasicSearch
|
||||||
|
* @throws ParseException
|
||||||
|
*/
|
||||||
static function xmlDeserialize(Reader $reader) {
|
static function xmlDeserialize(Reader $reader) {
|
||||||
$search = new self();
|
$search = new self();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -30,9 +30,21 @@ class PropDesc implements XmlSerializable {
|
||||||
* @var string[]
|
* @var string[]
|
||||||
*/
|
*/
|
||||||
public $properties = [];
|
public $properties = [];
|
||||||
|
/**
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
public $dataType;
|
public $dataType;
|
||||||
|
/**
|
||||||
|
* @var boolean
|
||||||
|
*/
|
||||||
public $searchable;
|
public $searchable;
|
||||||
|
/**
|
||||||
|
* @var boolean
|
||||||
|
*/
|
||||||
public $selectable;
|
public $selectable;
|
||||||
|
/**
|
||||||
|
* @var boolean
|
||||||
|
*/
|
||||||
public $sortable;
|
public $sortable;
|
||||||
|
|
||||||
function xmlSerialize(Writer $writer) {
|
function xmlSerialize(Writer $writer) {
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,9 @@ use Sabre\DAV\Xml\Element\Response;
|
||||||
use Sabre\Xml\Writer;
|
use Sabre\Xml\Writer;
|
||||||
|
|
||||||
class QueryDiscoverResponse extends Response {
|
class QueryDiscoverResponse extends Response {
|
||||||
|
/**
|
||||||
|
* @var BasicSearchSchema|null
|
||||||
|
*/
|
||||||
protected $schema;
|
protected $schema;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue