projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website]
/
vendor
/
symfony
/
css-selector
/
XPath
/
XPathExpr.php
diff --git
a/vendor/symfony/css-selector/XPath/XPathExpr.php
b/vendor/symfony/css-selector/XPath/XPathExpr.php
index 38ca295540071c63989141caf5e9e9a810bcb5b6..63e3ac36bf82026aa108a72bad95cc770e1d312b 100644
(file)
--- a/
vendor/symfony/css-selector/XPath/XPathExpr.php
+++ b/
vendor/symfony/css-selector/XPath/XPathExpr.php
@@
-23,19
+23,8
@@
namespace Symfony\Component\CssSelector\XPath;
*/
class XPathExpr
{
*/
class XPathExpr
{
- /**
- * @var string
- */
private $path;
private $path;
-
- /**
- * @var string
- */
private $element;
private $element;
-
- /**
- * @var string
- */
private $condition;
/**
private $condition;
/**
@@
-70,7
+59,7
@@
class XPathExpr
*/
public function addCondition($condition)
{
*/
public function addCondition($condition)
{
- $this->condition = $this->condition ? sprintf('
%s
and (%s)', $this->condition, $condition) : $condition;
+ $this->condition = $this->condition ? sprintf('
(%s)
and (%s)', $this->condition, $condition) : $condition;
return $this;
}
return $this;
}
@@
-114,7
+103,7
@@
class XPathExpr
*
* @return $this
*/
*
* @return $this
*/
- public function join($combiner,
XPathExpr
$expr)
+ public function join($combiner,
self
$expr)
{
$path = $this->__toString().$combiner;
{
$path = $this->__toString().$combiner;