Skip to content

Commit

Permalink
Merge pull request #105 from Roxayl/fix-assignment
Browse files Browse the repository at this point in the history
Fix parentheses for assignment
  • Loading branch information
nonoesp authored Mar 3, 2024
2 parents 5b2786d + c202c20 commit 8bf4c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mpociot/Versionable/VersionableTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ private function isValidForVersioning()
$removeableKeys[] = $updatedAt;
}

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

Expand Down

0 comments on commit 8bf4c21

Please sign in to comment.