← All changes
|
vendor_prefixed/symfony/dependency-injection/Exception/ServiceNotFoundException.php
+1
-1
18.5
→
trunk
View file →
| @@ -20,9 +20,9 @@ | ||
| 20 | 20 | { |
| 21 | 21 | private $id; |
| 22 | 22 | private $sourceId; |
| 23 | 23 | private $alternatives; |
| 24 | - public function __construct($id, $sourceId = null, \Exception $previous = null, array $alternatives = [], $msg = null) | |
| 24 | + public function __construct(string $id, ?string $sourceId = null, ?\Throwable $previous = null, array $alternatives = [], ?string $msg = null) | |
| 25 | 25 | { |
| 26 | 26 | if (null !== $msg) { |
| 27 | 27 | // no-op |
| 28 | 28 | } elseif (null === $sourceId) { |