Dataset::delete(): allow null as a filter #92
Annotations
10 errors
phpstan:
src/simpleRdf/Dataset.php#L131
Parameter #1 $quads of method simpleRdf\Dataset::add() expects array<rdfInterface\QuadInterface>|rdfInterface\QuadInterface|Traversable<mixed, rdfInterface\QuadInterface>, rdfInterface\QuadInterface|rdfInterface\QuadIteratorAggregateInterface|rdfInterface\QuadIteratorInterface given.
|
phpstan:
src/simpleRdf/Dataset.php#L193
Result of || is always true.
|
phpstan:
src/simpleRdf/Dataset.php#L200
Parameter #1 $offset of method simpleRdf\Dataset::findMatchingQuads() expects 0|(callable(): mixed)|rdfInterface\QuadCompareInterface|rdfInterface\QuadIteratorAggregateInterface|rdfInterface\QuadIteratorInterface|null, (callable(): mixed)|int|rdfInterface\QuadCompareInterface given.
|
phpstan:
src/simpleRdf/Dataset.php#L212
Result of || is always true.
|
phpstan:
src/simpleRdf/Dataset.php#L219
Parameter #1 $offset of method simpleRdf\Dataset::findMatchingQuads() expects 0|(callable(): mixed)|rdfInterface\QuadCompareInterface|rdfInterface\QuadIteratorAggregateInterface|rdfInterface\QuadIteratorInterface|null, (callable(): mixed)|int|rdfInterface\QuadCompareInterface given.
|
phpstan:
src/simpleRdf/Dataset.php#L232
Result of || is always true.
|
phpstan:
src/simpleRdf/Dataset.php#L260
Result of || is always true.
|
phpstan:
src/simpleRdf/Dataset.php#L275
Deprecated in PHP 8.4: Parameter #2 $filter (rdfInterface\QuadCompareInterface|rdfInterface\QuadIteratorInterface|rdfInterface\QuadIteratorAggregateInterface|callable) is implicitly nullable via default value null.
|
phpstan:
src/simpleRdf/Dataset.php#L285
Deprecated in PHP 8.4: Parameter #3 $filter (rdfInterface\QuadCompareInterface|rdfInterface\QuadIteratorInterface|rdfInterface\QuadIteratorAggregateInterface|callable) is implicitly nullable via default value null.
|
phpstan:
src/simpleRdf/Dataset.php#L372
Result of && is always false.
|