used attribute Deprecated #249
Annotations
10 errors
|
PHPStan:
src/Schema/Expect.php#L75
Result of || is always true.
|
|
PHPStan:
src/Schema/Expect.php#L75
Instanceof between ReflectionParameter and ReflectionParameter will always evaluate to true.
|
|
PHPStan:
src/Schema/Expect.php#L75
Call to function assert() with true will always evaluate to true.
|
|
PHPStan:
src/Schema/Expect.php#L69
Parameter #1 $objectOrClass of class ReflectionClass constructor expects class-string<T of object>|T of object, object|string given.
|
|
PHPStan:
src/Schema/Elements/Base.php (in context of class Nette/Schema/Elements/Type)#L156
Parameter #2 $range of static method Nette\Schema\Helpers::validateRange() expects array{float|null, float|null}, array given.
|
|
PHPStan:
src/Schema/Elements/Base.php (in context of class Nette/Schema/Elements/Type)#L152
Method Nette\Schema\Elements\Type::doValidateRange() has parameter $range with no value type specified in iterable type array.
|
|
PHPStan:
src/Schema/Elements/Base.php (in context of class Nette/Schema/Elements/Structure)#L156
Parameter #2 $range of static method Nette\Schema\Helpers::validateRange() expects array{float|null, float|null}, array given.
|
|
PHPStan:
src/Schema/Elements/Base.php (in context of class Nette/Schema/Elements/Structure)#L152
Method Nette\Schema\Elements\Structure::doValidateRange() has parameter $range with no value type specified in iterable type array.
|
|
PHPStan:
src/Schema/Elements/Base.php (in context of class Nette/Schema/Elements/AnyOf)#L156
Parameter #2 $range of static method Nette\Schema\Helpers::validateRange() expects array{float|null, float|null}, array given.
|
|
PHPStan:
src/Schema/Elements/Base.php (in context of class Nette/Schema/Elements/AnyOf)#L152
Method Nette\Schema\Elements\AnyOf::doValidateRange() has parameter $range with no value type specified in iterable type array.
|