Merge rules from PHP attributes with rules provided via getRules()
method
#4581
Annotations
1 error and 1 warning
|
src/Helper/ObjectParser.php#L265
Escaped Mutant for Mutator "ArrayOneItem":
--- Original
+++ New
@@ @@
}
}
$this->setCacheItem('labels', $labels);
- return $labels;
+ return count($labels) > 1 ? array_slice($labels, 0, 1, true) : $labels;
}
/**
* Returns a property value of the parsed object.
|
This job failed
Loading