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.
1 parent 5b2aa2b commit f3e5f5dCopy full SHA for f3e5f5d
src/Contracts/BuilderContract.php
@@ -21,9 +21,9 @@ public function setString(string $str): void;
21
/**
22
* Retrieves all matches of the set pattern within the target string.
23
*
24
- * @return array An array of all matches found.
+ * @return mixed An array of all matches found, a Laravel's collection or NULL.
25
*/
26
- public function get(): ?array;
+ public function get(): mixed;
27
28
29
* Checks if the entire target string exactly matches the set pattern.
0 commit comments