Skip to content

Commit f3e5f5d

Browse files
committed
Fix BuilderContract
1 parent 5b2aa2b commit f3e5f5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Contracts/BuilderContract.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ public function setString(string $str): void;
2121
/**
2222
* Retrieves all matches of the set pattern within the target string.
2323
*
24-
* @return array An array of all matches found.
24+
* @return mixed An array of all matches found, a Laravel's collection or NULL.
2525
*/
26-
public function get(): ?array;
26+
public function get(): mixed;
2727

2828
/**
2929
* Checks if the entire target string exactly matches the set pattern.

0 commit comments

Comments
 (0)