Update the comments of the method createQueryTo in ActiveRecordFactory so that the IDE can automatically identify the specific class of ActiveRecord #849
Annotations
6 errors
|
Static analysis:
src/ActiveQuery.php#L974
MoreSpecificReturnType: The declared return type 'Yiisoft\ActiveRecord\ActiveRecordInterface' for Yiisoft\ActiveRecord\ActiveQuery::getARInstance is more specific than the inferred return type 'object'
|
Static analysis:
src/ActiveQuery.php#L977
LessSpecificReturnStatement: The type 'object' is more general than the declared return type 'Yiisoft\ActiveRecord\ActiveRecordInterface' for Yiisoft\ActiveRecord\ActiveQuery::getARInstance
|
Static analysis:
src/ActiveQuery.php#L977
ArgumentTypeCoercion: Argument 1 of Yiisoft\ActiveRecord\ActiveRecordFactory::createAR expects class-string, but parent type string provided
|
Static analysis:
src/ActiveRecordFactory.php#L35
MismatchingDocblockReturnType: Docblock has incorrect return type 'T:fn-yiisoft\activerecord\activerecordfactory::createar as object', should be 'Yiisoft\ActiveRecord\ActiveRecordInterface'
|
Static analysis
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading