Skip to content

Commit 0af23a1

Browse files
committed
thusfar
1 parent 8e5e04e commit 0af23a1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Nether/Common/Datastore.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1689,7 +1689,9 @@ public function
16891689
Flatten():
16901690
static {
16911691

1692-
return new static(array_unique($this->Data));
1692+
$this->Data = array_unique($this->Data);
1693+
1694+
return $this;
16931695
}
16941696

16951697
#[Meta\Date('2023-11-11')]
@@ -1698,9 +1700,7 @@ public function
16981700
Unique():
16991701
static {
17001702

1701-
$this->Data = array_unique($this->Data);
1702-
1703-
return $this;
1703+
return new static(array_unique($this->Data));
17041704
}
17051705

17061706
////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)