projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Yaffs site version 1.1
[yaffs-website]
/
vendor
/
symfony
/
expression-language
/
Parser.php
diff --git
a/vendor/symfony/expression-language/Parser.php
b/vendor/symfony/expression-language/Parser.php
index 6f90451522290a20981b865599712ab2b86bf6e6..d847dfa4b03bc8b42ba53b0b4181bf4d3abc8d4a 100644
(file)
--- a/
vendor/symfony/expression-language/Parser.php
+++ b/
vendor/symfony/expression-language/Parser.php
@@
-344,7
+344,7
@@
class Parser
$node = new Node\GetAttrNode($node, $arg, $arguments, $type);
} elseif ('[' === $token->value) {
$node = new Node\GetAttrNode($node, $arg, $arguments, $type);
} elseif ('[' === $token->value) {
- if ($node instanceof Node\GetAttrNode && Node\GetAttrNode::METHOD_CALL === $node->attributes['type'] && PHP_VERSION_ID < 50400) {
+ if ($node instanceof Node\GetAttrNode && Node\GetAttrNode::METHOD_CALL === $node->attributes['type'] &&
\
PHP_VERSION_ID < 50400) {
throw new SyntaxError('Array calls on a method call is only supported on PHP 5.4+', $token->cursor, $this->stream->getExpression());
}
throw new SyntaxError('Array calls on a method call is only supported on PHP 5.4+', $token->cursor, $this->stream->getExpression());
}