Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Jun 13, 2020

The BCTokens class has a __callStatic() method to allow for offering methods for all properties from the PHPCS native Tokens array, even when they are unchanged.

Using the @method tag, it is now documented which methods will magically resolve.

Ref: https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc-tags.md#57-method

The `BCTokens` class has a `__callStatic()` method to allow for offering methods for all properties from the PHPCS native `Tokens` array, even when they are unchanged.

Using the `@method` tag, it is now documented which methods will magically resolve.

Ref: https://github.com/php-fig/fig-standards/blob/master/proposed/phpdoc-tags.md#57-method
@jrfnl jrfnl added this to the 1.0.0-alpha3 milestone Jun 13, 2020
@jrfnl jrfnl merged commit 78b095f into develop Jun 13, 2020
@jrfnl jrfnl deleted the docs/bctokens-add-method-tags branch June 13, 2020 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants