Skip to content

Commit

Permalink
Fix field middleware directive stub
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Nov 27, 2024
1 parent a0429d7 commit 21edcfe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Console/stubs/directives/field_middleware_methods.stub
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
* Wrap around the final field resolver.
*
* @param \Nuwave\Lighthouse\Schema\Values\FieldValue $fieldValue
* @param \Closure $next
* @return \Nuwave\Lighthouse\Schema\Values\FieldValue
*/
public function handleField(FieldValue $fieldValue, \Closure $next)
public function handleField(FieldValue $fieldValue): void
{
// TODO implement the field middleware
}

0 comments on commit 21edcfe

Please sign in to comment.