Skip to content

Commit

Permalink
Remove CollectionInterface::isEmpty()
Browse files Browse the repository at this point in the history
  • Loading branch information
steevanb committed May 15, 2024
1 parent c84b8f6 commit 2731ca0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
- Because of generics, remove methods in `StringCollection`: `__construct()`, `replace()`, `has()`, `get()`, `merge()` and `toArray()`
- Because of generics, remove methods in `StringNullableCollection`: `__construct()`, `replace()`, `has()`, `get()`, `merge()` and `toArray()`
- [Edhrendal](https://github.com/Edhrendal) Add `AbstractCollection::isEmpty()`
- **[BC break]** Add `CollectionInterface::isEmpty()`
- Remove `CollectionInterface::getIntegerKeys()` and `CollectionInterface::getStringKeys()`. It still exists in `AbstractCollection`.
- **[BC break]** Remove parameter `$readOnly` in `CollectionInterface::setReadOnly()`
- **[BC break]** Remove `ValueAlreadyExistsException`
Expand Down
2 changes: 0 additions & 2 deletions src/CollectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ public function remove(string|int $key): static;

public function clear(): static;

public function isEmpty(): bool;

/** @param TValueType $value */
public function contains(mixed $value): bool;

Expand Down

0 comments on commit 2731ca0

Please sign in to comment.