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 8e5e04e commit 0af23a1Copy full SHA for 0af23a1
src/Nether/Common/Datastore.php
@@ -1689,7 +1689,9 @@ public function
1689
Flatten():
1690
static {
1691
1692
- return new static(array_unique($this->Data));
+ $this->Data = array_unique($this->Data);
1693
+
1694
+ return $this;
1695
}
1696
1697
#[Meta\Date('2023-11-11')]
@@ -1698,9 +1700,7 @@ public function
1698
1700
Unique():
1699
1701
1702
- $this->Data = array_unique($this->Data);
-
1703
- return $this;
+ return new static(array_unique($this->Data));
1704
1705
1706
////////////////////////////////////////////////////////////////
0 commit comments