protected function removeFilter($removing, $current) { return array_filter($current, function ($filter) use($removing) { return $filter['original'] != $removing; }); }