Skip to content

Tag: documentation

Lint dynamic return types in PHP

I would like to be able to autocomplete when using my following code. I have looked for a solution, but just can’t seem to find anything. This is about what my models look like. In the following example I would like to be able to tab example and test My function to retrieve a model: This is how I call

What do #@+ and #@- in PHP comment blocks mean?

I’ve seen several PHP files where there are some special characters at the beginning of a doc block. It starts with /**#@+ some doc-text */ and ends with /**#@-*/. What do these symbols mean? I found that this seems to be used in various PHP frameworks (Zend, phpseclib, Magento) but couldn’t find …