Issues (10)

src/Guards/Value.php (1 issue)

1
<?php
2
declare(strict_types=1);
3
4
namespace InputGuard\Guards;
5
6
interface Value
7
{
8
    /**
9
     * Return either the validated value or the default value.
10
     *
11
     * @return mixed
12
     */
13
    public function value();
0 ignored issues
show
Coding Style Best Practice introduced by
Please use __construct() instead of a PHP4-style constructor that is named after the class.
Loading history...
14
}
15