diff --git a/src/Heartbeat.php b/src/Heartbeat.php index a95980f..b998b0f 100644 --- a/src/Heartbeat.php +++ b/src/Heartbeat.php @@ -37,7 +37,7 @@ public function send(string $slug, int $minutes = 1): void $config = config('butler.health.heartbeat'); - if ($config['driver'] ?? null === 'log') { + if (data_get($config, 'driver') === 'log') { Log::info('heartbeat', ['url' => $url]); return;