strict typing and php 7.1

This commit is contained in:
Robin Appelman 2019-02-20 15:43:12 +01:00
commit e8cf5e7644
25 changed files with 43 additions and 36 deletions

View file

@ -1,4 +1,4 @@
<?php
<?php declare(strict_types=1);
/**
* @copyright Copyright (c) 2017 Robin Appelman <robin@icewind.nl>
*
@ -29,7 +29,7 @@ use SearchDAV\DAV\SearchPlugin;
* The limit and offset of a search query
*/
class Limit extends \SearchDAV\Query\Limit implements XmlDeserializable {
static function xmlDeserialize(Reader $reader) {
static function xmlDeserialize(Reader $reader): Limit {
$limit = new self();
$elements = \Sabre\Xml\Deserializer\keyValue($reader);