Skip to content

Conversation

@jrfnl
Copy link
Contributor

@jrfnl jrfnl commented May 3, 2020

As of PHP 8.0, static will be allowed as a return type.

Ref: https://wiki.php.net/rfc/static_return_type

This commit adjusts the File::getMethodProperties() utility method to allow for that.

Includes unit test.

As of PHP 8.0, `static` will be allowed as a return type.

Ref: https://wiki.php.net/rfc/static_return_type

This commit adjusts the `File::getMethodProperties()` utility method to allow for that.

Includes unit test.
@gsherwood gsherwood added this to the 3.5.6 milestone May 15, 2020
gsherwood added a commit that referenced this pull request Jun 22, 2020
@gsherwood gsherwood merged commit 4c6f4be into squizlabs:master Jun 22, 2020
@gsherwood
Copy link
Member

Thanks for adding this support

@jrfnl jrfnl deleted the feature/file-getmethod-properties-allow-static-return-type branch June 22, 2020 05:28
@jrfnl jrfnl changed the title File::getMethodProperties(): allow for return type "static" PHP 8.0 | File::getMethodProperties(): allow for return type "static" Aug 31, 2020
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

Successfully merging this pull request may close these issues.

2 participants