diff --git a/cli/src/Service/Schedule.php b/cli/src/Service/Schedule.php index 4fe7187..a54c586 100644 --- a/cli/src/Service/Schedule.php +++ b/cli/src/Service/Schedule.php @@ -20,7 +20,7 @@ class Schedule $commands = []; foreach ($schedule as $line) { $line = trim($line); - if (trim($line) === '' or str_starts_with('#', $line)) { + if (trim($line) === '' or str_starts_with($line, '#')) { continue; } try {