The type roarsearch\yii2\roa\hal\ARContract was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. excluded_paths:["lib/*"],
you can move it to the dependency path list as follows:
The expression return $model returns the type yii\db\ActiveRecordInterface which is incompatible with the type-hinted return roarsearch\yii2\roa\hal\ARContract.
Loading history...
36
}
37
38
/**
39
* @param ARContract $model
40
* @param array $params the request params
41
* @return bool whether the proct was successful
42
*/
43
abstract protected function proct(ARContract $model, array $params): bool;
44
45
/**
46
* @return HttpException
47
*/
48
protected function errorException(): HttpException
49
{
50
return new ServerErrorHttpException($this->errorMessage);
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths