Add var documentation

This commit is contained in:
Dennis Eichhorn 2018-07-31 11:04:10 +02:00 committed by GitHub
parent 74b6bd0ec1
commit dc3c5f11d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,3 +140,9 @@ A function/method documentation MUST be implemented in the following form:
Please also note the correct alignment of `@param` type, name and description
### Variable
In some cases it may be required to type hint a variable in this case the following format MUST be used.
```php
/** @var {variable_type} varName {optional_description}
```