← All changes
|
vendor_prefixed/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php
+1
-1
18.2
→
trunk
View file →
| @@ -18,9 +18,9 @@ | ||
| 18 | 18 | class ServiceCircularReferenceException extends \YoastSEO_Vendor\Symfony\Component\DependencyInjection\Exception\RuntimeException |
| 19 | 19 | { |
| 20 | 20 | private $serviceId; |
| 21 | 21 | private $path; |
| 22 | - public function __construct($serviceId, array $path, \Exception $previous = null) | |
| 22 | + public function __construct(string $serviceId, array $path, ?\Throwable $previous = null) | |
| 23 | 23 | { |
| 24 | 24 | parent::__construct(\sprintf('Circular reference detected for service "%s", path: "%s".', $serviceId, \implode(' -> ', $path)), 0, $previous); |
| 25 | 25 | $this->serviceId = $serviceId; |
| 26 | 26 | $this->path = $path; |