Fix PHP 8.4 deprecation warning

This commit is contained in:
Aleksander Machniak 2024-08-30 20:05:11 +02:00
parent 79756d53df
commit 0e78f492fe

View file

@ -76,7 +76,7 @@ class kolab_storage_cache
/**
* Default constructor
*/
public function __construct(kolab_storage_folder $storage_folder = null)
public function __construct(?kolab_storage_folder $storage_folder = null)
{
$rcmail = rcube::get_instance();
$this->db = $rcmail->get_dbh();