allow custom order by #254
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
2 warnings
Mutation Testing Code Review Annotations 8.1:
src/Infrastructure/Scout/ScoutSearchCommandBuilder.php#L312
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
private static function getSorts(Builder $builder) : array
{
return array_map(static function ($order) {
- return $order instanceof SyntaxInterface ? $order : new Sort($order['column'], $order['direction']);
+ return false ? $order : new Sort($order['column'], $order['direction']);
}, $builder->orders);
}
}
|
Mutation Testing Code Review Annotations 8.2:
src/Infrastructure/Scout/ScoutSearchCommandBuilder.php#L312
Escaped Mutant for Mutator "InstanceOf_":
--- Original
+++ New
@@ @@
private static function getSorts(Builder $builder) : array
{
return array_map(static function ($order) {
- return $order instanceof SyntaxInterface ? $order : new Sort($order['column'], $order['direction']);
+ return false ? $order : new Sort($order['column'], $order['direction']);
}, $builder->orders);
}
}
|