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
+1 -1
View File
@@ -347,7 +347,7 @@ class QueueUtil
*/
protected function markJobListFailed(iterable $jobList): void
{
if (!count($jobList)) {
if (is_countable($jobList) && !count($jobList)) {
return;
}