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.
2 parents 4dc1271 + c695cff commit 3d643a3Copy full SHA for 3d643a3
src/DataStructure/Behavioral/Searchable.php
@@ -32,7 +32,7 @@ public function contains(mixed $element): bool;
32
*
33
* @param mixed $element The element to find
34
35
- * @return int The index of the element
+ * @return mixed The index of the element if found, null otherwise
36
*/
37
public function find(mixed $element): mixed;
38
}
0 commit comments