Fix extensibility issue #794
Annotations
1 warning
PHP 8-ubuntu-latest:
src/BaseActiveRecordTrait.php#L292
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 {
|