Skip to content

Commit 4277f90

Browse files
committed
Fix code style issue
1 parent 94f8051 commit 4277f90

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/DocBlock/Tags/InvalidTag.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
use function is_resource;
2121
use function sprintf;
2222

23+
use const PHP_VERSION_ID;
24+
2325
/**
2426
* This class represents an exception during the tag creation
2527
*
@@ -98,9 +100,11 @@ function (array $call): array {
98100
$exception = $exception->getPrevious();
99101
} while ($exception !== null);
100102

101-
if (PHP_VERSION_ID < 80100) {
102-
$traceProperty->setAccessible(false);
103+
if (PHP_VERSION_ID >= 80100) {
104+
return;
103105
}
106+
107+
$traceProperty->setAccessible(false);
104108
}
105109

106110
/**

0 commit comments

Comments
 (0)