public function methodAnnotationsType(string $type, string $class, string $method): array
    {
        return $this->filterAnnotationsByType(
            $type,
            ...$this->methodAnnotations(
            $class,
            $method
        )
        );
    }
public function methodAnnotationsType(string $type, string $class, string $method): array
    {
        return $this->filterAnnotationsByType(
            $type,
            ...$this->methodAnnotations(
            $class,
            $method
        )
        );
    }
public function methodAnnotationsType ( string $ type , string $ class , string $ method ) : array { return $ this -> filterAnnotationsByType ( $ type , ... $ this -> methodAnnotations ( $ class , $ method ) ) ; }
Get a method's annotations by type.

@param string $type   The type
@param string $class  The class
@param string $method The method

@throws \ReflectionException

@return \Valkyrja\Annotations\Annotation[]
Get a method s annotations by type .