Skip to content

Commit 98281b4

Browse files
committed
Simplify Query methods implementation
1 parent f94129c commit 98281b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Contracts/QueryInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
* @method int|null indexOf(string $key, int $nth = 0) Returns the offset of the pair based on its key and its nth occurrence; negative occurrences are supported
3131
* @method int|null indexOfValue(?string $value, int $nth = 0) Returns the offset of the pair based on its value and its nth occurrence; negative occurrences are supported
3232
* @method array pair(int $offset) Returns the key/value pair at the given numeric offset; negative occurrences are supported
33+
* @method int countDistinctKeys() Returns the total number of distinct keys
3334
* @method string|null valueAt(int $offset): Returns the value at the given numeric offset; negative occurrences are supported
3435
* @method string keyAt(int $offset): Returns the key at the given numeric offset; negative occurrences are supported
3536
* @method self normalize() returns the normalized string representation of the component

0 commit comments

Comments
 (0)