forked from mirror/Part-DB.Part-DB-server
Fixed some inspection issues
This commit is contained in:
parent
33475dca66
commit
42e604245c
85 changed files with 272 additions and 291 deletions
|
@ -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'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue