TestCallable.php 465 B

12345678910111213141516171819202122
  1. <?php declare(strict_types=1);
  2. /*
  3. * This file is part of phpunit/php-invoker.
  4. *
  5. * (c) Sebastian Bergmann <sebastian@phpunit.de>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace SebastianBergmann\Invoker\TestFixture;
  11. use function sleep;
  12. final class TestCallable
  13. {
  14. public function test(int $sleep): bool
  15. {
  16. sleep($sleep);
  17. return true;
  18. }
  19. }