src/Valkyrja/Annotations/NativeAnnotations.php
public function propertyAnnotationsType(string $type, string $class, string $property): array
    {
        return $this->filterAnnotationsByType(
            $type,
            ...$this->propertyAnnotations(
            $class,
            $property
        )
        );
    }
public function propertyAnnotationsType(string $type, string $class, string $property): array
    {
        return $this->filterAnnotationsByType(
            $type,
            ...$this->propertyAnnotations(
            $class,
            $property
        )
        );
    }
Get a property's annotations by type.

@param string $type     The type
@param string $class    The class
@param string $property The property

@throws \ReflectionException

@return \Valkyrja\Annotations\Annotation[]