Skip to content

Commit df3a602

Browse files
Changed property excludeChanges to excludeAttributes
1 parent 2815523 commit df3a602

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

behaviors/LoggingBehavior.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class LoggingBehavior extends Behavior {
3535
/**
3636
* @var array : Attributes that should be excluded from the "changes" log
3737
*/
38-
public $excludeChanges = [];
38+
public $excludeAttributes = [];
3939

4040
/**
4141
* @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) {
178178
}
179179

180180
protected function removeExcluded($keyValueArray) {
181-
return array_diff_key($keyValueArray, array_flip($this->excludeChanges));
181+
return array_diff_key($keyValueArray, array_flip($this->excludeAttributes));
182182
}
183183

184184
protected function maskModelValues($values) {

0 commit comments

Comments
 (0)