1
0
mirror of https://github.com/danog/loop.git synced 2024-11-30 04:19:04 +01:00

Improve coverage

This commit is contained in:
Daniil Gentili 2023-01-24 12:34:29 +01:00
parent 9ecb50391f
commit ba6d91426c

View File

@ -160,7 +160,7 @@ abstract class Loop implements Stringable
throw new AssertionError("Already have a resume timer!");
// @codeCoverageIgnoreEnd
}
if ($this->resumeTimer !== null) {
if ($this->resumeImmediate !== null) {
// @codeCoverageIgnoreStart
throw new AssertionError("Already have a resume immediate timer!");
// @codeCoverageIgnoreEnd