Skip to content

Commit

Permalink
Fix parentheses for assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Roxayl committed Mar 3, 2024
1 parent 5b2786d commit c202c20
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 c202c20

Please sign in to comment.