Filter data nested forms #155
Annotations
1 error and 2 warnings
mutation / PHP 8.2-ubuntu-latest
Process completed with exit code 1.
|
mutation / PHP 8.2-ubuntu-latest:
src/FormHydrator.php#L273
Escaped Mutant for Mutator "Continue_":
--- Original
+++ New
@@ @@
continue;
}
if ($property->isReadOnly()) {
- continue;
+ break;
}
$propertyValue = $property->getValue($formModel);
if ($propertyValue instanceof FormModelInterface) {
|
mutation / PHP 8.2-ubuntu-latest:
src/FormHydrator.php#L291
Escaped Mutant for Mutator "ArrayOneItem":
--- Original
+++ New
@@ @@
}
}
}
- return $filteredData;
+ return count($filteredData) > 1 ? array_slice($filteredData, 0, 1, true) : $filteredData;
}
}
|