Debian Codegraph @

examples/prism-phpdoc.html

raw symbols SCIP
1 <h2>Full example</h2>
2 <pre><code class="language-php">&lt;?php
3
4 /** @var \DateTime[] An array of DateTime objects. */
5 /** @var string[] An array of string objects. */
6 /** @var callable[] An array of with callable functions or methods. */
7
8 /** @var \ArrayObject|\DateTime[] */
9 $dates = array()
10
11 /**
12 * @param bool|\DateTime $foo the first argument
13 * @return string|null
14 */
15 function bar($foo) { ... }</code></pre>