type fixes

This commit is contained in:
Yuri Kuznetsov
2022-03-18 14:05:16 +02:00
parent abca847e5a
commit 27d7e6e522
11 changed files with 18 additions and 6 deletions

View File

@@ -85,7 +85,10 @@ class MetadataProvider
*/
public function getScheduledJobNameList(): array
{
return array_keys($this->metadata->get(['app', 'scheduledJobs']) ?? []);
/** @var array<string,mixed> */
$items = $this->metadata->get(['app', 'scheduledJobs']) ?? [];
return array_keys($items);
}
/**