From 4d2b9c53c95ad846160295dd8f4136a5b53f9f7b Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Mon, 1 Feb 2021 15:23:52 +0000 Subject: Mark function as deprecated --- app/Services/MediaFileService.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/Services/MediaFileService.php') diff --git a/app/Services/MediaFileService.php b/app/Services/MediaFileService.php index 4cf3e37cc8..f5c8724f6d 100644 --- a/app/Services/MediaFileService.php +++ b/app/Services/MediaFileService.php @@ -121,6 +121,8 @@ class MediaFileService * @param string $current * * @return array + * + * @deprecated - Will be removed in 2.1.0 - use Registry::elementFactory()->make('OBJE:FILE:FORM:TYPE')->values() */ public function mediaTypes($current = ''): array { -- cgit v1.3