mirror of
https://github.com/Karaka-Management/Developer-Guide.git
synced 2026-02-09 00:48:40 +00:00
Add var documentation
This commit is contained in:
parent
74b6bd0ec1
commit
dc3c5f11d1
|
|
@ -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
|
Please also note the correct alignment of `@param` type, name and description
|
||||||
|
|
||||||
### Variable
|
### 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}
|
||||||
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user