ClassWithInvalidAnnotationTargetAtMethod.php 390 B

1234567891011121314151617181920
  1. <?php
  2. namespace EasySwoole\DoctrineAnnotation\Tests\Fixtures;
  3. use EasySwoole\DoctrineAnnotation\Tests\Fixtures\AnnotationTargetClass;
  4. /**
  5. * @AnnotationTargetClass("Some data")
  6. */
  7. class ClassWithInvalidAnnotationTargetAtMethod
  8. {
  9. /**
  10. * @param mixed $param
  11. *
  12. * @AnnotationTargetClass("functionName")
  13. */
  14. public function functionName($param): void
  15. {
  16. }
  17. }