From dc3c5f11d1ddc380d1062a56f06192137aa76415 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 31 Jul 2018 11:04:10 +0200 Subject: [PATCH] Add var documentation --- standards/documentation.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/standards/documentation.md b/standards/documentation.md index 3fca82b..bb3c393 100644 --- a/standards/documentation.md +++ b/standards/documentation.md @@ -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} +```