Mercurial > hg > isophonics-drupal-site
comparison vendor/nikic/php-parser/lib/PhpParser/Node/FunctionLike.php @ 13:5fb285c0d0e3
Update Drupal core to 8.4.7 via Composer. Security update; I *think* we've
been lucky to get away with this so far, as we don't support self-registration
which seems to be used by the so-called "drupalgeddon 2" attack that 8.4.5
was vulnerable to.
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:33:26 +0100 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
12:7a779792577d | 13:5fb285c0d0e3 |
---|---|
1 <?php | 1 <?php declare(strict_types=1); |
2 | 2 |
3 namespace PhpParser\Node; | 3 namespace PhpParser\Node; |
4 | 4 |
5 use PhpParser\Node; | 5 use PhpParser\Node; |
6 | 6 |
9 /** | 9 /** |
10 * Whether to return by reference | 10 * Whether to return by reference |
11 * | 11 * |
12 * @return bool | 12 * @return bool |
13 */ | 13 */ |
14 public function returnsByRef(); | 14 public function returnsByRef() : bool; |
15 | 15 |
16 /** | 16 /** |
17 * List of parameters | 17 * List of parameters |
18 * | 18 * |
19 * @return Node\Param[] | 19 * @return Node\Param[] |
20 */ | 20 */ |
21 public function getParams(); | 21 public function getParams() : array; |
22 | 22 |
23 /** | 23 /** |
24 * Get the declared return type or null | 24 * Get the declared return type or null |
25 * | 25 * |
26 * @return null|string|Node\Name|Node\NullableType | 26 * @return null|Identifier|Node\Name|Node\NullableType |
27 */ | 27 */ |
28 public function getReturnType(); | 28 public function getReturnType(); |
29 | 29 |
30 /** | 30 /** |
31 * The function body | 31 * The function body |
32 * | 32 * |
33 * @return Node\Stmt[] | 33 * @return Node\Stmt[]|null |
34 */ | 34 */ |
35 public function getStmts(); | 35 public function getStmts(); |
36 } | 36 } |