Skip to content

Commit 0801a4a

Browse files
authored
Merge pull request #7 from jeysmook/search_with_0
fixed search with 0
2 parents ee2d4f5 + 71aa6bf commit 0801a4a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/Models/SearchParameters.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -509,14 +509,9 @@ public function getWords() : ?string
509509
* Sets keywords in search Params for searching files.
510510
* @param string $words keywords that you want to search
511511
* @return SearchParameters object
512-
* @throws StockApiException if words is null or blank
513512
*/
514513
public function setWords(string $words) : SearchParameters
515514
{
516-
if (empty($words)) {
517-
throw StockApiException::WithMessage('Should not be blank or null values in kewywords field');
518-
}
519-
520515
$this->words = $words;
521516
return $this;
522517
}

0 commit comments

Comments
 (0)