Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 688
Zeile 33... Zeile 33...
33
 * @see http://physics.nist.gov/cuu/Units/binary.html
33
 * @see http://physics.nist.gov/cuu/Units/binary.html
34
 */
34
 */
35
class NumberComparator extends Comparator
35
class NumberComparator extends Comparator
36
{
36
{
37
    /**
37
    /**
38
     * @param string|int $test A comparison string or an integer
38
     * @param string|null $test A comparison string or null
39
     *
39
     *
40
     * @throws \InvalidArgumentException If the test is not understood
40
     * @throws \InvalidArgumentException If the test is not understood
41
     */
41
     */
42
    public function __construct(?string $test)
42
    public function __construct(?string $test)
43
    {
43
    {