Skip to content

Commit 171d1a7

Browse files
author
Stepan Zolotarev
committed
Add configuration funtion in code coverage ignore list
1 parent 5249117 commit 171d1a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Configuration/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
/**
1818
* @internal
19+
* @codeCoverageIgnore
1920
*
2021
* @psalm-return \Closure(object, \ServiceBus\Common\Context\ServiceBusContext):\Amp\Promise<void>
2122
*/
@@ -25,7 +26,6 @@ function createClosure(Saga $saga, \ReflectionMethod $method): \Closure
2526
$closure = $method->getClosure($saga);
2627

2728
/** @noinspection PhpConditionAlreadyCheckedInspection */
28-
// @codeCoverageIgnoreStart
2929
if ($closure === null) {
3030
throw new \LogicException(
3131
\sprintf(

0 commit comments

Comments
 (0)