Fix deprecation warning for explicit nullable type.

This commit is contained in:
Andrew Ruthven 2024-12-14 00:13:27 +13:00
parent 744edb1204
commit f36065a49b

View File

@ -173,7 +173,7 @@ class DAVResource
* field of the resource is populated with the given data, so it does not need
* to be queried again later
*/
function __construct( $parameters = null, DAVResource $prefetched_collection = null ) {
function __construct( $parameters = null, ?DAVResource $prefetched_collection = null ) {
$this->exists = null;
$this->bound_from = null;
$this->dav_name = null;