We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 955ec44 commit d138972Copy full SHA for d138972
src/Parsers/Keywords/FiltersKeywordParser.php
@@ -134,7 +134,7 @@ protected function parseFilter(
134
135
if (property_exists($filter, '$vars')) {
136
if (!is_object($filter->{'$vars'})) {
137
- throw $this->keywordException('$vars (for {keyword}) must be a string', $info);
+ throw $this->keywordException('$vars (for {keyword}) must be an object', $info);
138
}
139
unset($vars['$vars']);
140
$vars = get_object_vars($filter->{'$vars'}) + $vars;
0 commit comments