Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
forrest79 committed Feb 20, 2024
1 parent e0bad85 commit e732d3a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Fluent/Complex.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ public function offsetSet(mixed $offset, mixed $value): void
*/
public function offsetUnset(mixed $offset): void
{
unset($this->conditions[$offset]);
$conditions = $this->conditions;
unset($conditions[$offset]);
$this->conditions = array_values($conditions);
}


Expand Down

0 comments on commit e732d3a

Please sign in to comment.