Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert "true" typehint to "bool" (#497)
php 8.1 doesn't support "true" as a typehint (The generator will then normally see "function returns bool, except it never returns false because we convert false to exception, which means it only ever returns true, which means the return value is meaningless, so let's convert the return value to void" - which is why this change to the generator results in "returns void" for the generated output)
- Loading branch information