Skip to content

Commit

Permalink
Add interface for intersect()
Browse files Browse the repository at this point in the history
  • Loading branch information
valzargaming committed Jan 17, 2025
1 parent c32e30d commit e1f42fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Discord/Helpers/CollectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public function collect();
public function keys(): array;
public function values(): array;
public function diff($items, ?callable $callback);
public function intersect($items, ?callable $callback);
public function offsetExists($offset): bool;
#[\ReturnTypeWillChange]
public function offsetGet($offset);
Expand Down

0 comments on commit e1f42fe

Please sign in to comment.