Hello,
Method \RavenDB\Documents\Commands\GetDocumentsCommand::withStartWith throw when $startWith is an empty string (but is not null), while an empty string is working and theoretically a valid prefix.
Solution:
Replace:
if (empty($startWith)) {
throw new IllegalArgumentException("startWith cannot be null");
}
by:
if ($startWith === null) {
throw new IllegalArgumentException("startWith cannot be null");
}
Hello,
Method
\RavenDB\Documents\Commands\GetDocumentsCommand::withStartWiththrow when$startWithis an empty string (but is not null), while an empty string is working and theoretically a valid prefix.Solution:
Replace:
by: