Skip to content

Commit 9f44a13

Browse files
committed
Standardize nullable type hints to 'null|Type' order
Refactors type hints and docblocks across the codebase to consistently use the 'null|Type' order for nullable types, improving code readability and alignment with modern PHP standards. No functional changes are introduced; this is a documentation and type annotation update only.
1 parent 5255d7a commit 9f44a13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Annotation/ValidationAspect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function process(ProceedingJoinPoint $proceedingJoinPoint)
6161
protected function getValidationRules(ProceedingJoinPoint $proceedingJoinPoint): array
6262
{
6363
$metadata = $proceedingJoinPoint->getAnnotationMetadata();
64-
/** @var Validation|null $annotation */
64+
/** @var null|Validation $annotation */
6565
$annotation = $metadata->method[Validation::class] ?? null;
6666

6767
if (! $annotation) {

0 commit comments

Comments
 (0)