comparison vendor/nikic/php-parser/lib/PhpParser/NodeVisitor.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; 3 namespace PhpParser;
4 4
5 interface NodeVisitor 5 interface NodeVisitor
6 { 6 {
30 * * otherwise 30 * * otherwise
31 * => $node is set to the return value 31 * => $node is set to the return value
32 * 32 *
33 * @param Node $node Node 33 * @param Node $node Node
34 * 34 *
35 * @return null|int|Node Node 35 * @return null|int|Node Replacement node (or special return value)
36 */ 36 */
37 public function enterNode(Node $node); 37 public function enterNode(Node $node);
38 38
39 /** 39 /**
40 * Called when leaving a node. 40 * Called when leaving a node.
51 * * otherwise 51 * * otherwise
52 * => $node is set to the return value 52 * => $node is set to the return value
53 * 53 *
54 * @param Node $node Node 54 * @param Node $node Node
55 * 55 *
56 * @return null|false|int|Node|Node[] Node 56 * @return null|int|Node|Node[] Replacement node (or special return value)
57 */ 57 */
58 public function leaveNode(Node $node); 58 public function leaveNode(Node $node);
59 59
60 /** 60 /**
61 * Called once after traversal. 61 * Called once after traversal.