Skip to content

implement the interface ArrayableInterface for BaseActiveRecord #790

implement the interface ArrayableInterface for BaseActiveRecord

implement the interface ArrayableInterface for BaseActiveRecord #790

Triggered via pull request December 9, 2023 08:55
Status Failure
Total duration 29s
Artifacts

static.yml

on: pull_request
Matrix: mutation
Fit to window
Zoom out
Zoom in

Annotations

6 errors
PHP 8.1-ubuntu-latest: src/BaseActiveRecord.php#L124
LessSpecificImplementedReturnType: The inherited return type 'array<string, Closure|string>' for Yiisoft\ActiveRecord\ActiveRecordInterface::fields is more specific than the implemented return type for Yiisoft\ActiveRecord\BaseActiveRecord::fields 'array<array-key, mixed>'
PHP 8.1-ubuntu-latest: src/BaseActiveRecordTrait.php#L255
ParamNameMismatch: Argument 2 of Yiisoft\ActiveRecord\BaseActiveRecordTrait::offsetSet has wrong name $item, expecting $value as defined by ArrayAccess::offsetSet
PHP 8.1-ubuntu-latest
Process completed with exit code 1.
PHP 8-ubuntu-latest
The job was canceled because "ubuntu-latest_8_1" failed.
PHP 8-ubuntu-latest: src/BaseActiveRecord.php#L124
LessSpecificImplementedReturnType: The inherited return type 'array<string, Closure|string>' for Yiisoft\ActiveRecord\ActiveRecordInterface::fields is more specific than the implemented return type for Yiisoft\ActiveRecord\BaseActiveRecord::fields 'array<array-key, mixed>'
PHP 8-ubuntu-latest
Process completed with exit code 1.