InterfaceWithAnnotatedParameters.php 742 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace Symfony\Component\ErrorHandler\Tests\Fixtures;
  3. /**
  4. * Ensures a deprecation is triggered when a new parameter is not declared in child classes.
  5. */
  6. interface InterfaceWithAnnotatedParameters
  7. {
  8. /**
  9. * @param bool $matrix
  10. */
  11. public function whereAmI();
  12. /**
  13. * @param $noType with $dollar after
  14. * @param callable(\Throwable|null $reason, mixed $value) $callback and a comment
  15. * about this great param
  16. * @param string $param (comment with $dollar)
  17. * @param $defined
  18. * @param callable ($a, $b) $anotherOne
  19. * @param callable (mixed $a, $b) $definedCallable
  20. * @param \JustAType
  21. */
  22. public function iAmHere();
  23. }