Update to laravel 7

This commit is contained in:
KodeStar
2022-03-10 11:54:29 +00:00
parent 61a5a1a8b0
commit f9a19fce91
7170 changed files with 274189 additions and 283773 deletions

View File

@@ -43,6 +43,9 @@ class XPathExpr
return $this->element;
}
/**
* @return $this
*/
public function addCondition(string $condition): self
{
$this->condition = $this->condition ? sprintf('(%s) and (%s)', $this->condition, $condition) : $condition;
@@ -55,6 +58,9 @@ class XPathExpr
return $this->condition;
}
/**
* @return $this
*/
public function addNameTest(): self
{
if ('*' !== $this->element) {
@@ -65,6 +71,9 @@ class XPathExpr
return $this;
}
/**
* @return $this
*/
public function addStarPrefix(): self
{
$this->path .= '*/';