Fix deprecation warning for explicit nullable type.

This commit is contained in:
Andrew Ruthven 2024-12-14 00:13:27 +13:00 committed by Andrew Ruthven
parent a9ffb1e67c
commit 11315dee47

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;