mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Fix code style issue
This commit is contained in:
@@ -20,6 +20,8 @@ use function is_object;
|
|||||||
use function is_resource;
|
use function is_resource;
|
||||||
use function sprintf;
|
use function sprintf;
|
||||||
|
|
||||||
|
use const PHP_VERSION_ID;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This class represents an exception during the tag creation
|
* This class represents an exception during the tag creation
|
||||||
*
|
*
|
||||||
@@ -98,9 +100,11 @@ final class InvalidTag implements Tag
|
|||||||
$exception = $exception->getPrevious();
|
$exception = $exception->getPrevious();
|
||||||
} while ($exception !== null);
|
} while ($exception !== null);
|
||||||
|
|
||||||
if (PHP_VERSION_ID < 80100) {
|
if (PHP_VERSION_ID >= 80100) {
|
||||||
$traceProperty->setAccessible(false);
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$traceProperty->setAccessible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user