Skip to content

fixed insert() return values #431

fixed insert() return values

fixed insert() return values #431

Triggered via push March 4, 2026 08:29
Status Failure
Total duration 23s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors
PHPStan
Process completed with exit code 1.
PHPStan: src/Database/Table/Selection.php#L972
Method Nette\Database\Table\Selection::getReferencingTable() return type with generic class Nette\Database\Table\GroupedSelection does not specify its types: T
PHPStan: src/Database/Table/Selection.php#L805
Method Nette\Database\Table\Selection::insert() return type has no value type specified in iterable type array.
PHPStan: src/Database/Table/Selection.php#L656
Method Nette\Database\Table\Selection::getRefTable() has parameter $refPath with no type specified.
PHPStan: src/Database/Table/Selection.php#L592
Method Nette\Database\Table\Selection::createGroupedSelectionInstance() return type with generic class Nette\Database\Table\GroupedSelection does not specify its types: T
PHPStan: src/Database/Table/GroupedSelection.php#L241
Return type (($data is array<string, mixed> ? T of Nette\Database\Table\ActiveRow : int)|array) of method Nette\Database\Table\GroupedSelection::insert() should be covariant with return type (($data is array<string, mixed> ? Nette\Database\Table\ActiveRow : int)|array) of method Nette\Database\Table\Selection<T of Nette\Database\Table\ActiveRow>::insert()
PHPStan: src/Database/Table/GroupedSelection.php#L241
Method Nette\Database\Table\GroupedSelection::insert() return type has no value type specified in iterable type array.
PHPStan: src/Database/Table/GroupedSelection.php#L204
Method Nette\Database\Table\GroupedSelection::getRefTable() has parameter $refPath with no type specified.
PHPStan: src/Database/Table/ActiveRow.php#L131
Method Nette\Database\Table\ActiveRow::related() return type with generic class Nette\Database\Table\GroupedSelection does not specify its types: T
PHPStan: src/Database/Explorer.php#L128
Method Nette\Database\Explorer::createGroupedSelection() return type with generic class Nette\Database\Table\GroupedSelection does not specify its types: T