Skip to content

Commit

Permalink
MINOR: add result to onAfterMiddlware hook (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Carlino authored Apr 8, 2020
1 parent 731242d commit bee37b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ protected function callMiddleware(Schema $schema, $query, $context, $params, cal

$result = $next($schema, $query, $context, $params);

$this->extend('onAfterCallMiddleware', $schema, $query, $context, $params);
$this->extend('onAfterCallMiddleware', $schema, $query, $context, $params, $result);

return $result;
}
Expand Down

0 comments on commit bee37b7

Please sign in to comment.