Skip to content

implement the interface ArrayableInterface for BaseActiveRecord #768

implement the interface ArrayableInterface for BaseActiveRecord

implement the interface ArrayableInterface for BaseActiveRecord #768

Triggered via pull request December 10, 2023 07:40
@niqingyangniqingyang
synchronize #273
master
Status Success
Total duration 6m 12s
Artifacts

mutation.yml

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

Annotations

1 warning
PHP 8-ubuntu-latest: src/BaseActiveRecordTrait.php#L304
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 {