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 = [];