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