Skip to content

Improve return $this phpdoc for chaining #264

Improve return $this phpdoc for chaining

Improve return $this phpdoc for chaining #264

Triggered via pull request December 7, 2023 10:29
Status Failure
Total duration 50s
Artifacts

test-unit.yml

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

Annotations

6 errors
Unit (latest, StaticAnalysis): Editor/Field.php#L319
Cannot call method value() on DataTables\Editor|DataTables\Editor\Join|DataTables\Editor\Upload|string.
Unit (latest, StaticAnalysis): Editor/Field.php#L508
Method DataTables\Editor\Field::validator() should return $this(DataTables\Editor\Field)|(callable(): mixed)|string but returns array<array>.
Unit (latest, StaticAnalysis): Editor/Join.php#L250
Method DataTables\Editor\Join::join() should return DataTables\Editor\Join but returns array.
Unit (latest, StaticAnalysis): Ext.php#L37
Method DataTables\Ext::instantiate() should return DataTables\Editor|DataTables\Editor\Field|DataTables\Editor\Join|DataTables\Editor\Upload but returns static(DataTables\Ext).
Unit (latest, StaticAnalysis): Ext.php#L54
Method DataTables\Ext::inst() should return DataTables\Editor|DataTables\Editor\Field|DataTables\Editor\Join|DataTables\Editor\Upload but returns static(DataTables\Ext).
Unit (latest, StaticAnalysis)
Process completed with exit code 1.