Skip to content

Commit

Permalink
remove unneded var
Browse files Browse the repository at this point in the history
  • Loading branch information
crevillo committed Feb 4, 2019
1 parent cd4cb88 commit a0b555e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/GraphQL/InputMapper/Search/Criterion/DateMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ public function visit(QueryBuilder $queryBuilder, $value): void
'after' => Query\Criterion\Operator::GTE,
];

$criteria = [];
foreach ($value as $operator => $dateString) {
if (!isset($dateOperatorsMap[$operator])) {
echo "Not a valid operator\n";
Expand Down

0 comments on commit a0b555e

Please sign in to comment.