We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2815523 commit df3a602Copy full SHA for df3a602
behaviors/LoggingBehavior.php
@@ -35,7 +35,7 @@ class LoggingBehavior extends Behavior {
35
/**
36
* @var array : Attributes that should be excluded from the "changes" log
37
*/
38
- public $excludeChanges = [];
+ public $excludeAttributes = [];
39
40
41
* @var array : Attributes in the "changes" log that should be masked with stars instead of showing the actual value
@@ -178,7 +178,7 @@ public function logChanges($event) {
178
}
179
180
protected function removeExcluded($keyValueArray) {
181
- return array_diff_key($keyValueArray, array_flip($this->excludeChanges));
+ return array_diff_key($keyValueArray, array_flip($this->excludeAttributes));
182
183
184
protected function maskModelValues($values) {
0 commit comments