FIX: str_starts_with

This commit is contained in:
Juan Pablo Vial
2025-06-27 17:17:21 -04:00
parent 1c0f4a5ae9
commit 174b29efff

View File

@ -20,7 +20,7 @@ class Schedule
$commands = []; $commands = [];
foreach ($schedule as $line) { foreach ($schedule as $line) {
$line = trim($line); $line = trim($line);
if (trim($line) === '' or str_starts_with('#', $line)) { if (trim($line) === '' or str_starts_with($line, '#')) {
continue; continue;
} }
try { try {