We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
isset
1 parent 562fc55 commit eb01d77Copy full SHA for eb01d77
1 file changed
src/ProjectConfiguration.php
@@ -70,7 +70,7 @@ public function __destruct()
70
*/
71
public function addEnvironment(string $environment, ?array $options = null)
72
{
73
- if ('bedrock' === $this->configuration['type']) {
+ if (isset($this->configuration['type']) && 'bedrock' === $this->configuration['type']) {
74
$options = array_merge(['build' => ['COMPOSER_MIRROR_PATH_REPOS=1 composer install']], (array) $options);
75
}
76
0 commit comments