diff --git a/src/BuildingException.php b/src/BuildingException.php index 1adc2d05..6d0c12cc 100644 --- a/src/BuildingException.php +++ b/src/BuildingException.php @@ -20,7 +20,7 @@ final class BuildingException extends Exception implements ContainerExceptionInt * @param string[] $buildStack Stack of IDs of services requested definition or class that wasn't found. */ public function __construct( - private string $id, + private readonly string $id, Throwable $error, array $buildStack = [], Throwable $previous = null,