Add method build()
in ExpressionBuilderInterface::class
.
#3109
Annotations
10 errors
src/Expression/ExpressionBuilder.php#L20
src/Expression/ExpressionBuilder.php:20:38: MethodSignatureMismatch: Argument 1 of Yiisoft\Db\Expression\ExpressionBuilder::build has wrong type 'Yiisoft\Db\Expression\Expression', expecting 'Yiisoft\Db\Expression\ExpressionInterface' as defined by Yiisoft\Db\Expression\ExpressionBuilderInterface::build (see https://psalm.dev/042)
|
src/Expression/ExpressionBuilder.php#L20
src/Expression/ExpressionBuilder.php:20:38: MoreSpecificImplementedParamType: Argument 1 of Yiisoft\Db\Expression\ExpressionBuilder::build has the more specific type 'Yiisoft\Db\Expression\Expression', expecting 'Yiisoft\Db\Expression\ExpressionInterface' as defined by Yiisoft\Db\Expression\ExpressionBuilderInterface::build (see https://psalm.dev/140)
|
src/Expression/ExpressionBuilder.php#L20
src/Expression/ExpressionBuilder.php:20:73: MixedInferredReturnType: Could not verify return type 'string' for Yiisoft\Db\Expression\ExpressionBuilder::build (see https://psalm.dev/047)
|
src/Expression/ExpressionBuilder.php#L22
src/Expression/ExpressionBuilder.php:22:53: UndefinedInterfaceMethod: Method Yiisoft\Db\Expression\ExpressionInterface::getParams does not exist (see https://psalm.dev/181)
|
src/Expression/ExpressionBuilder.php#L23
src/Expression/ExpressionBuilder.php:23:16: MixedReturnStatement: Could not infer a return type (see https://psalm.dev/138)
|
src/Expression/ExpressionBuilder.php#L23
src/Expression/ExpressionBuilder.php:23:29: UndefinedInterfaceMethod: Method Yiisoft\Db\Expression\ExpressionInterface::__toString does not exist (see https://psalm.dev/181)
|
src/Expression/ExpressionBuilderInterface.php#L29
src/Expression/ExpressionBuilderInterface.php:29:15: MismatchingDocblockParamType: Parameter $expression has wrong type 'Yiisoft\Db\Expression\ExpressionInterface', should be 'Yiisoft\Db\Expression\Expression' (see https://psalm.dev/141)
|
src/Query/QueryExpressionBuilder.php#L30
src/Query/QueryExpressionBuilder.php:30:42: MethodSignatureMismatch: Argument 1 of Yiisoft\Db\Query\QueryExpressionBuilder::build has wrong type 'Yiisoft\Db\Query\QueryInterface', expecting 'Yiisoft\Db\Expression\ExpressionInterface' as defined by Yiisoft\Db\Expression\ExpressionBuilderInterface::build (see https://psalm.dev/042)
|
src/Query/QueryExpressionBuilder.php#L30
src/Query/QueryExpressionBuilder.php:30:42: MoreSpecificImplementedParamType: Argument 1 of Yiisoft\Db\Query\QueryExpressionBuilder::build has the more specific type 'Yiisoft\Db\Query\QueryInterface', expecting 'Yiisoft\Db\Expression\ExpressionInterface' as defined by Yiisoft\Db\Expression\ExpressionBuilderInterface::build (see https://psalm.dev/140)
|
src/Query/QueryExpressionBuilder.php#L32
src/Query/QueryExpressionBuilder.php:32:54: ArgumentTypeCoercion: Argument 1 of Yiisoft\Db\QueryBuilder\QueryBuilderInterface::build expects Yiisoft\Db\Query\QueryInterface, but parent type Yiisoft\Db\Expression\ExpressionInterface provided (see https://psalm.dev/193)
|
The logs for this run have expired and are no longer available.
Loading