aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Preview/IMimeIconProvider.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Preview/IMimeIconProvider.php')
-rw-r--r--lib/public/Preview/IMimeIconProvider.php23
1 files changed, 4 insertions, 19 deletions
diff --git a/lib/public/Preview/IMimeIconProvider.php b/lib/public/Preview/IMimeIconProvider.php
index cb397ddfda7..4a407f48577 100644
--- a/lib/public/Preview/IMimeIconProvider.php
+++ b/lib/public/Preview/IMimeIconProvider.php
@@ -1,23 +1,8 @@
<?php
+
/**
- * @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @author John Molakvoæ <skjnldsv@protonmail.com>
- *
- * @license AGPL-3.0-or-later
- *
- * This code is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License, version 3,
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License, version 3,
- * along with this program. If not, see <http://www.gnu.org/licenses/>
- *
+ * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Preview;
@@ -33,5 +18,5 @@ interface IMimeIconProvider {
* if no preview is available.
* @since 28.0.0
*/
- public function getMimeIconUrl(string $mime): string|null;
+ public function getMimeIconUrl(string $mime): ?string;
}