Fixed some inspection issues

This commit is contained in:
Jan Böhmer 2024-03-03 19:57:31 +01:00
parent 33475dca66
commit 42e604245c
85 changed files with 272 additions and 291 deletions

View file

@ -221,7 +221,7 @@ final class AttachmentDataTable implements DataTableTypeInterface
//We do the most stuff here in the filter class
if (isset($options['filter'])) {
if(!$options['filter'] instanceof AttachmentFilter) {
throw new \Exception('filter must be an instance of AttachmentFilter!');
throw new \RuntimeException('filter must be an instance of AttachmentFilter!');
}
$filter = $options['filter'];