public static function argAuthorIn(Query $query, $value, &$q) { $query->where('post_author.id', array_values($value)); }