From 9a95f8fb2ffd1f34c4d95710d26340f7dfa26645 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Wed, 8 May 2024 16:24:48 +1200 Subject: [PATCH] FIX Avoid undefined array key warning (#90) --- job_creator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/job_creator.php b/job_creator.php index b9f23d5..686c550 100644 --- a/job_creator.php +++ b/job_creator.php @@ -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); }