Skip to content

Commit 7a460c7

Browse files
freekmurzegithub-actions[bot]
authored andcommitted
Fix styling
1 parent a8d09f5 commit 7a460c7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/SortableTrait.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public static function setNewOrder(
4747
string $primaryKeyColumn = null,
4848
callable $modifyQuery = null
4949
): void {
50-
if (!is_array($ids) && !$ids instanceof ArrayAccess) {
50+
if (! is_array($ids) && ! $ids instanceof ArrayAccess) {
5151
throw new InvalidArgumentException('You must pass an array or ArrayAccess object to setNewOrder');
5252
}
5353

@@ -106,7 +106,7 @@ public function moveOrderDown(): static
106106
->where($orderColumnName, '>', $this->$orderColumnName)
107107
->first();
108108

109-
if (!$swapWithModel) {
109+
if (! $swapWithModel) {
110110
return $this;
111111
}
112112

@@ -122,7 +122,7 @@ public function moveOrderUp(): static
122122
->where($orderColumnName, '<', $this->$orderColumnName)
123123
->first();
124124

125-
if (!$swapWithModel) {
125+
if (! $swapWithModel) {
126126
return $this;
127127
}
128128

0 commit comments

Comments
 (0)