We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 984f2ec commit e38f8cfCopy full SHA for e38f8cf
.php-cs-fixer.dist.php
@@ -17,6 +17,7 @@
17
'array_syntax' => ['syntax' => 'short'],
18
'blank_line_before_statement' => true,
19
'combine_consecutive_issets' => true,
20
+ 'combine_consecutive_unsets' => true,
21
'is_null' => false,
22
'list_syntax' => ['syntax' => 'short'],
23
'modernize_types_casting' => true,
src/Sortable/SortableListener.php
@@ -488,8 +488,8 @@ public function postFlush(EventArgs $args)
488
}
489
490
// Clear relocations
491
- unset($this->relocations[$hash]);
492
- unset($this->maxPositions[$hash]); // unset only if relocations has been processed
+ // unset only if relocations has been processed
+ unset($this->relocations[$hash], $this->maxPositions[$hash]);
493
494
495
0 commit comments