comparison vendor/nikic/php-parser/lib/PhpParser/BuilderHelpers.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 5fb285c0d0e3
children
comparison
equal deleted inserted replaced
16:c2387f117808 17:129ea1e6d783
69 69
70 if (\is_string($name)) { 70 if (\is_string($name)) {
71 return new Identifier($name); 71 return new Identifier($name);
72 } 72 }
73 73
74 throw new \LogicException('Expected string or instance of Node\Identifier or Node\Expr'); 74 throw new \LogicException('Expected string or instance of Node\Identifier');
75 } 75 }
76 76
77 /** 77 /**
78 * Normalizes strings to Identifier, also allowing expressions. 78 * Normalizes strings to Identifier, also allowing expressions.
79 * 79 *