Skip to content

Commit

Permalink
Merge pull request #9 from brianfreytag/fix_reflection
Browse files Browse the repository at this point in the history
Fix for ReflectionExtractor for Query Parser
  • Loading branch information
brianfreytag committed Feb 14, 2020
2 parents ea194a8 + 59e429f commit 74c788e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UltiproClient.php
Expand Up @@ -251,7 +251,7 @@ protected function parseQuery(Query $query)

$reflectionExtractor = new ReflectionExtractor();

$properties = $reflectionExtractor->getProperties($query);
$properties = $reflectionExtractor->getProperties(get_class($query));

foreach ($properties as $property) {
$methodName = 'get' . ucwords($property);
Expand Down

0 comments on commit 74c788e

Please sign in to comment.