Skip to content

support 7.1 nullable types in return type #353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
andares opened this issue Apr 17, 2017 · 2 comments
Closed

support 7.1 nullable types in return type #353

andares opened this issue Apr 17, 2017 · 2 comments

Comments

@andares
Copy link

andares commented Apr 17, 2017

declare return type with nullable types is still crash.

like the code:

public function save(string $dir): ?string {
    return $dir ?: null;
}
@jens1o
Copy link
Contributor

jens1o commented Apr 17, 2017

yep, because #292 is not merged, yet. Duplicate of #290.

@felixfbecker I hope it's okay for you to add labels...

@felixfbecker
Copy link
Owner

@jens1o fell free to tag issues and close duplicates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants