We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca61414 commit 77ef87bCopy full SHA for 77ef87b
src/Config/Factory.php
@@ -191,7 +191,7 @@ private function extractOptions(mixed $json): array
191
*/
192
private function configureHook(Config\Hook $config, array $json): void
193
{
194
- $config->setEnabled($json['enabled']);
+ $config->setEnabled($json['enabled'] ?? true);
195
foreach ($json['actions'] as $actionJson) {
196
$options = $this->extractOptions($actionJson);
197
$conditions = $this->extractConditions($actionJson);
0 commit comments