improve psalm config #217
Annotations
5 errors
|
src/AbstractQueryDataReader.php#L336
src/AbstractQueryDataReader.php:336:22: InvalidReturnType: The declared return type '(TValue:Yiisoft\Data\Db\AbstractQueryDataReader as array<array-key, mixed>|object)|null' for Yiisoft\Data\Db\AbstractQueryDataReader::readOne is incorrect, got '(TValue:Yiisoft\Data\Db\AbstractQueryDataReader as array<array-key, mixed>|object)|array<array-key, mixed>|null|object' (see https://psalm.dev/011)
|
src/AbstractQueryDataReader.php#L346
src/AbstractQueryDataReader.php:346:16: InvalidReturnStatement: The inferred type 'array<array-key, mixed>|null|object' does not match the declared return type '(TValue:Yiisoft\Data\Db\AbstractQueryDataReader as array<array-key, mixed>|object)|null' for Yiisoft\Data\Db\AbstractQueryDataReader::readOne (see https://psalm.dev/128)
|
src/QueryDataReader.php#L10
src/QueryDataReader.php:10:13: MissingTemplateParam: Yiisoft\Data\Db\QueryDataReader has missing template params when extending Yiisoft\Data\Db\AbstractQueryDataReader, expecting 2 (see https://psalm.dev/182)
|
|
The logs for this run have expired and are no longer available.
Loading