Snippets tagged “phpdoc”
2 snippets use this tag.
- Best way to document Array options in PHPDoc?PHP
When documenting an array option in PHPDoc, you can use the @var tag followed by the type array and a short description of the option.
- Type hinting in PHP 7 - array of objectsPHP
In PHP 7, type hinting can be used to specify the expected data type of a function or method parameter.