refactor: Update build_args property type in ApplicationDeploymentJob

This commit is contained in:
Andras Bacsai 2024-09-04 11:34:31 +02:00
parent ed7817906a
commit 04ce622465

View File

@ -109,7 +109,7 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue
private bool $is_debug_enabled;
private $build_args;
private Collection|string $build_args;
private $env_args;
@ -168,6 +168,7 @@ public function __construct(int $application_deployment_queue_id)
$this->application_deployment_queue = ApplicationDeploymentQueue::find($application_deployment_queue_id);
$this->application = Application::find($this->application_deployment_queue->application_id);
$this->build_pack = data_get($this->application, 'build_pack');
$this->build_args = collect([]);
$this->application_deployment_queue_id = $application_deployment_queue_id;
$this->deployment_uuid = $this->application_deployment_queue->deployment_uuid;