Skip to content

Commit

Permalink
Update Job.php
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
  • Loading branch information
ghostwriter committed Dec 3, 2023
1 parent 55d464e commit 9f22537
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Option/Job.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public function __construct(
private string $name,
private string $command,
private array $extensions,
private string $composerCacheFilesDirectory,
private string $composerJsonPath,
private string $composerLockPath,
private string $dependency,
Expand All @@ -28,6 +29,7 @@ public function __construct(
* runCommand:string,
* installCommand:string,
* validateCommand:string,
* composerCacheFilesDirectory:string,
* extensions:array<string>,
* os:string,
* php:string,
Expand Down Expand Up @@ -64,7 +66,7 @@ public function toArray(): array
return [
'name' => $this->name,
'runCommand' => $this->command,
'composer-cache-files-dir' => (new ComposerCacheFilesDirectoryFinder)->find(),
'composerCacheFilesDirectory' => $this->composerCacheFilesDirectory,
'os' => $this->os,
'php' => PhpVersion::TO_STRING[$this->php],
'dependency' => $this->dependency,
Expand Down

0 comments on commit 9f22537

Please sign in to comment.