Review the proposed patch then download it to apply it manually or execute the following command from the repository root directory:
curl https://fabbot.io/patch/symfony/symfony/49388/fe4b0ae0f0981ef5912e910cb97a2378b5f47a8e/cs.diff | patch -p0
diff -ru src/Symfony/Component/CssSelector/XPath/XPathExpr.php src/Symfony/Component/CssSelector/XPath/XPathExpr.php
--- src/Symfony/Component/CssSelector/XPath/XPathExpr.php 2024-03-01 13:05:53.259710099 +0000
+++ src/Symfony/Component/CssSelector/XPath/XPathExpr.php 2024-03-01 13:05:57.045838973 +0000
@@ -82,7 +82,7 @@
*
* @return $this
*/
- public function join(string $combiner, self $expr, string $closingCombiner = null, bool $hasInnerConditions = false): static
+ public function join(string $combiner, self $expr, ?string $closingCombiner = null, bool $hasInnerConditions = false): static
{
$path = $this->__toString().$combiner;