Skip to content

Fix setting value for an attribute when AR class has get method for t… #796

Fix setting value for an attribute when AR class has get method for t…

Fix setting value for an attribute when AR class has get method for t… #796

Triggered via push December 16, 2023 05:50
Status Success
Total duration 7m 33s
Artifacts

mutation.yml

on: push
Matrix: mutation
Fit to window
Zoom out
Zoom in

Annotations

1 warning
PHP 8-ubuntu-latest: src/BaseActiveRecordTrait.php#L305
Escaped Mutant for Mutator "UnwrapUcFirst": --- Original +++ New @@ @@ } public function canGetProperty(string $name, bool $checkVars = true) : bool { - if (method_exists($this, 'get' . ucfirst($name)) || $checkVars && property_exists($this, $name)) { + if (method_exists($this, 'get' . $name) || $checkVars && property_exists($this, $name)) { return true; } try {