"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/CssSelector/XPath/Extension/FunctionExtension.php" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

FunctionExtension.php  (phplist-3.4.5.tgz):FunctionExtension.php  (phplist-3.4.6.tgz)
skipping to change at line 49 skipping to change at line 49
'nth-child' => [$this, 'translateNthChild'], 'nth-child' => [$this, 'translateNthChild'],
'nth-last-child' => [$this, 'translateNthLastChild'], 'nth-last-child' => [$this, 'translateNthLastChild'],
'nth-of-type' => [$this, 'translateNthOfType'], 'nth-of-type' => [$this, 'translateNthOfType'],
'nth-last-of-type' => [$this, 'translateNthLastOfType'], 'nth-last-of-type' => [$this, 'translateNthLastOfType'],
'contains' => [$this, 'translateContains'], 'contains' => [$this, 'translateContains'],
'lang' => [$this, 'translateLang'], 'lang' => [$this, 'translateLang'],
]; ];
} }
/** /**
* @param XPathExpr $xpath * @param bool $last
* @param FunctionNode $function * @param bool $addNameTest
* @param bool $last
* @param bool $addNameTest
* *
* @return XPathExpr * @return XPathExpr
* *
* @throws ExpressionErrorException * @throws ExpressionErrorException
*/ */
public function translateNthChild(XPathExpr $xpath, FunctionNode $function, $last = false, $addNameTest = true) public function translateNthChild(XPathExpr $xpath, FunctionNode $function, $last = false, $addNameTest = true)
{ {
try { try {
list($a, $b) = Parser::parseSeries($function->getArguments()); list($a, $b) = Parser::parseSeries($function->getArguments());
} catch (SyntaxErrorException $e) { } catch (SyntaxErrorException $e) {
 End of changes. 1 change blocks. 
4 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)