Skip to content

Commit 0427fa7

Browse files
committed
Add codeCoverageIgnore to line of code that cannot be tested.
1 parent eb04c81 commit 0427fa7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Queue.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,10 +439,13 @@ private function ensureIndex(array $index)
439439
return;
440440
}
441441
}
442+
443+
//@codeCoverageIgnoreStart
442444
}
443445
}
444446

445447
throw new \Exception('couldnt create index after 5 attempts');
448+
//@codeCoverageIgnoreEnd
446449
}
447450

448451
/**

0 commit comments

Comments
 (0)