File manager - Edit - /var/www/payraty/helpdesk/vendor/roave/better-reflection/src/Reflection/Annotation/AnnotationHelper.php
Back
<?php declare(strict_types=1); namespace Roave\BetterReflection\Reflection\Annotation; use function preg_match; /** @internal */ final class AnnotationHelper { public const TENTATIVE_RETURN_TYPE_ANNOTATION = 'betterReflectionTentativeReturnType'; /** @psalm-pure */ public static function isDeprecated(string|null $docComment): bool { if ($docComment === null) { return false; } return preg_match('~\*\s*@deprecated(?=\s|\*)~', $docComment) === 1; } /** @psalm-pure */ public static function hasTentativeReturnType(string|null $docComment): bool { if ($docComment === null) { return false; } return preg_match('~\*\s*@' . self::TENTATIVE_RETURN_TYPE_ANNOTATION . '(?=\s|\*)~', $docComment) === 1; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings