From 2833d15f9fb6b40b68a02e5cfcd29762238a90a8 Mon Sep 17 00:00:00 2001 From: Alan Stanley Date: Mon, 20 May 2024 12:57:12 -0300 Subject: [PATCH] Type hint --- src/IslandoraUtils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IslandoraUtils.php b/src/IslandoraUtils.php index 8a3ac7d3..a29beaa3 100644 --- a/src/IslandoraUtils.php +++ b/src/IslandoraUtils.php @@ -781,7 +781,7 @@ class IslandoraUtils { * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException * @throws \Drupal\Core\Entity\EntityStorageException */ - public function deleteMediaAndFiles($media) { + public function deleteMediaAndFiles(array $media) { $results = []; $delete_media = []; $delete_files = [];