Skip to content

Commit

Permalink
swap bools
Browse files Browse the repository at this point in the history
  • Loading branch information
nateiler committed Jun 19, 2019
1 parent 93c6d6b commit eae9dde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/records/SortableTrait.php
Expand Up @@ -94,7 +94,7 @@ trait SortableTrait
*/
public function enforceSortOrder(): self
{
$this->saveSortOrder = false;
$this->saveSortOrder = true;
return $this;
}

Expand All @@ -103,7 +103,7 @@ public function enforceSortOrder(): self
*/
public function ignoreSortOrder(): self
{
$this->saveSortOrder = true;
$this->saveSortOrder = false;
return $this;
}

Expand Down

0 comments on commit eae9dde

Please sign in to comment.