Skip to content
Snippets Groups Projects
Commit 09facbd7 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Remove unnecessary type-check; typehints now handle this

parent 45445806
No related branches found
No related tags found
No related merge requests found
......@@ -50,9 +50,6 @@ abstract class ProcessingFilter
{
if (array_key_exists('%priority', $config)) {
$this->priority = $config['%priority'];
if (!is_int($this->priority)) {
throw new \Exception('Invalid priority: ' . var_export($this->priority, true));
}
unset($config['%priority']);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment