From 59895bef78b8eedf5fcc5098d538a67dda0ae20c Mon Sep 17 00:00:00 2001 From: Benjamin Tammling Date: Mon, 11 Mar 2024 13:44:04 +0100 Subject: [PATCH] [TASK] Add missing type declaration --- Classes/Xclass/DriverTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Xclass/DriverTrait.php b/Classes/Xclass/DriverTrait.php index fce5dff..b31f16d 100644 --- a/Classes/Xclass/DriverTrait.php +++ b/Classes/Xclass/DriverTrait.php @@ -6,7 +6,7 @@ trait DriverTrait { - public function getPublicUrl($identifier): ?string + public function getPublicUrl(string $identifier): ?string { if ($this->fileExists($identifier)) { $fileInfo = $this->getFileInfoByIdentifier($identifier, ['mimetype']);