FIX: str_starts_with
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user