Passed
Push — master ( 886e2a...0ce3ce )
by Tim
02:05
created

Assert::nullOr()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 2
eloc 2
c 1
b 0
f 0
nc 2
nop 2
dl 0
loc 4
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace SimpleSAML\SAML11\Assert;
6
7
use SimpleSAML\XML\Assert\Assert as BaseAssert;
8
9
/**
10
 * SimpleSAML\SAML11\Assert\Assert wrapper class
11
 *
12
 * @package simplesamlphp/saml11
13
 *
14
 * @method static void validDateTime(mixed $value, string $message = '', string $exception = '')
15
 * @method static void validURI(mixed $value, string $message = '', string $exception = '')
16
 * @method static void validEntityID(mixed $value, string $message = '', string $exception = '')
17
 * @method static void nullOrValidDateTime(mixed $value, string $message = '', string $exception = '')
18
 * @method static void nullOrValidURI(mixed $value, string $message = '', string $exception = '')
19
 * @method static void nullOrValidEntityID(mixed $value, string $message = '', string $exception = '')
20
 * @method static void allValidDateTime(mixed $value, string $message = '', string $exception = '')
21
 * @method static void allValidURI(mixed $value, string $message = '', string $exception = '')
22
 * @method static void allValidEntityID(mixed $value, string $message = '', string $exception = '')
23
 */
24
class Assert extends BaseAssert
25
{
26
    use CustomAssertionTrait;
27
}
28