Skip to content

Commit

Permalink
Fixed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sorinsarca committed Oct 21, 2024
1 parent 955ec44 commit d138972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parsers/Keywords/FiltersKeywordParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ protected function parseFilter(

if (property_exists($filter, '$vars')) {
if (!is_object($filter->{'$vars'})) {
throw $this->keywordException('$vars (for {keyword}) must be a string', $info);
throw $this->keywordException('$vars (for {keyword}) must be an object', $info);
}
unset($vars['$vars']);
$vars = get_object_vars($filter->{'$vars'}) + $vars;
Expand Down

0 comments on commit d138972

Please sign in to comment.