Skip to content

Commit 8bf4c21

Browse files
authored
Merge pull request #105 from Roxayl/fix-assignment
Fix parentheses for assignment
2 parents 5b2786d + c202c20 commit 8bf4c21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mpociot/Versionable/VersionableTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ private function isValidForVersioning()
268268
$removeableKeys[] = $updatedAt;
269269
}
270270

271-
if (method_exists($this, 'getDeletedAtColumn') && ($deletedAt = $this->getDeletedAtColumn() !== null)) {
271+
if (method_exists($this, 'getDeletedAtColumn') && ($deletedAt = $this->getDeletedAtColumn()) !== null) {
272272
$removeableKeys[] = $deletedAt;
273273
}
274274

0 commit comments

Comments
 (0)