Skip to content

Commit

Permalink
FIX Avoid undefined array key warning (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored May 8, 2024
1 parent b2625a3 commit 9a95f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion job_creator.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function createJob(int $phpIndex, array $opts): array
'js' => false,
'doclinting' => false,
// Needs full setup if installerVersion is set, OR this is a recipe
'needs_full_setup' => $this->installerVersion !== '' || (!empty($this->repoData) && $this->repoData['type'] === 'recipe'),
'needs_full_setup' => $this->installerVersion !== '' || (isset($this->repoData['type']) && $this->repoData['type'] === 'recipe'),
];
return array_merge($default, $opts);
}
Expand Down

0 comments on commit 9a95f8f

Please sign in to comment.