Skip to content

How to specify a template type will be unused in a Result type class? #10667

Closed Answered by ondrejmirtes
Kingdutch asked this question in Support
Discussion options

You must be logged in to vote

There is more than one way how to model Result/Ok/Error. For example: https://phpstan.org/r/55b876e9-566c-4815-9d19-132cfbf84254

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Kingdutch
Comment options

@ondrejmirtes
Comment options

@Kingdutch
Comment options

Answer selected by Kingdutch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Support
Labels
None yet
2 participants