Config: property docstrings updated #464
Annotations
10 errors
phpstan:
src/acdhOeaw/arche/lib/Config.php#L212
Class acdhOeaw\arche\lib\Config has PHPDoc tag @Property for property $parameters with no value type specified in iterable type array.
|
phpstan:
src/acdhOeaw/arche/lib/Config.php#L212
PHPDoc tag @Property for property acdhOeaw\arche\lib\Config::$meta contains unknown class acdhOeaw\arche\lib\quickRdf\DatasetNode.
|
phpstan:
src/acdhOeaw/arche/lib/Repo.php#L193
Method acdhOeaw\arche\lib\Repo::factoryFromUrl() never assigns null to &$realUrl so it can be removed from the by-ref type.
|
phpstan:
src/acdhOeaw/arche/lib/Repo.php#L312
Parameter #1 $graph of method quickRdfIo\NQuadsSerializer::serialize() expects array<rdfInterface\QuadInterface>|Traversable<mixed, rdfInterface\QuadInterface>, rdfInterface\DatasetNodeInterface given.
|
phpstan:
src/acdhOeaw/arche/lib/RepoDb.php#L159
Undefined variable: $id
|
phpstan:
src/acdhOeaw/arche/lib/RepoDb.php#L159
Undefined variable: $id2
|
phpstan:
src/acdhOeaw/arche/lib/RepoDb.php#L161
Method acdhOeaw\arche\lib\RepoDb::getResourceByIds() should return acdhOeaw\arche\lib\RepoResourceDb but returns acdhOeaw\arche\lib\RepoResourceInterface.
|
phpstan:
src/acdhOeaw/arche/lib/RepoDb.php#L418
Parameter #1 $value of function count expects array|Countable, array<string>|string given.
|
phpstan:
src/acdhOeaw/arche/lib/RepoDb.php#L465
Parameter #1 $value of function count expects array|Countable, array<string>|string given.
|
phpstan:
src/acdhOeaw/arche/lib/RepoDb.php#L506
Call to function is_array() with array<string> will always evaluate to true.
|
Loading