Skip to content

Laravel 10 adds a bool return type declaration to policy methods. How to square this with the Gate::after() approach where policy methods often return nothing? #2560

Unanswered
nathan-io asked this question in Q&A
Discussion options

You must be logged in to vote

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
2 replies
@parallels999
Comment options

@nathan-io
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@drbyte
Comment options

@nathan-io
Comment options

@drbyte
Comment options

@drbyte
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants