File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
app/code/Magento/Cron/Observer Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -541,7 +541,8 @@ private function getScheduleTimeInterval($groupId)
541
541
* Clean up scheduled jobs that are disabled in the configuration
542
542
* This can happen when you turn off a cron job in the config and flush the cache
543
543
*
544
- * @param $groupId
544
+ * @param string $groupId
545
+ * @return void
545
546
*/
546
547
public function cleanupDisabledJobs ($ groupId )
547
548
{
@@ -559,7 +560,7 @@ public function cleanupDisabledJobs($groupId)
559
560
}
560
561
561
562
/**
562
- * @param $jobConfig
563
+ * @param array $jobConfig
563
564
* @return null|string
564
565
*/
565
566
private function getCronExpression ($ jobConfig )
@@ -602,7 +603,7 @@ public function cleanupScheduleMismatches()
602
603
*/
603
604
private function getJobs ()
604
605
{
605
- if (is_null ( $ this ->jobs ) ) {
606
+ if ($ this ->jobs === null ) {
606
607
$ this ->jobs = $ this ->config ->getJobs ();
607
608
}
608
609
return $ this ->jobs ;
You can’t perform that action at this time.
0 commit comments