File: TestCallable.php

package info (click to toggle)
php-invoker 6.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 29,592 kB
  • sloc: php: 188; xml: 47; makefile: 16
file content (22 lines) | stat: -rw-r--r-- 465 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php declare(strict_types=1);
/*
 * This file is part of phpunit/php-invoker.
 *
 * (c) Sebastian Bergmann <sebastian@phpunit.de>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */
namespace SebastianBergmann\Invoker\TestFixture;

use function sleep;

final class TestCallable
{
    public function test(int $sleep): bool
    {
        sleep($sleep);

        return true;
    }
}