Skip to content

Commit 2c68e7a

Browse files
Paul Stanisciduellsy
authored andcommitted
fixed indentation to match original format
1 parent 49e2db2 commit 2c68e7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Venturecraft/Revisionable/RevisionableTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public function preSave()
126126
// we can only safely compare basic items,
127127
// so for now we drop any object based items, like DateTime
128128
foreach ($this->updatedData as $key => $val) {
129-
$castCheck = ['object', 'array'];
129+
$castCheck = ['object', 'array'];
130130
if (isset($this->casts[$key]) && in_array(gettype($val), $castCheck) && in_array($this->casts[$key], $castCheck) && isset($this->originalData[$key])) {
131131
// Sorts the keys of a JSON object due Normalization performed by MySQL
132132
// So it doesn't set false flag if it is changed only order of key or whitespace after comma

0 commit comments

Comments
 (0)