diff --git a/Clockwork/Storage/SqlSearch.php b/Clockwork/Storage/SqlSearch.php index 4ccd9606..b2d47d49 100644 --- a/Clockwork/Storage/SqlSearch.php +++ b/Clockwork/Storage/SqlSearch.php @@ -95,14 +95,10 @@ protected function resolveExactCondition($field, $inputs) if (! count($inputs)) return null; $bindings = []; - $values = implode(', ', array_map( - static function ($input, $index) use ($field, &$bindings) { - $bindings["{$field}{$index}"] = $input; - return ":{$field}{$index}"; - }, - $inputs, - array_keys($inputs) - )); + $values = implode(', ', array_map(function ($input, $index) use ($field, &$bindings) { + $bindings["{$field}{$index}"] = $input; + return ":{$field}{$index}"; + }, $inputs, array_keys($inputs))); return [ $this->quote($field) . " IN ({$values})", $bindings ]; }