Found by PHPStan.
Change-Id: Id2dd9996fd4d78da930ee0cc802bb07b66a5f084
$row->role_name = $this->slotRoleStore->getName( (int)$row->slot_role_id );
$row->model_name = $this->contentModelStore->getName( (int)$row->content_model );
- $contentCallback = function ( SlotRecord $slot ) use ( $queryFlags, $row ) {
+ $contentCallback = function ( SlotRecord $slot ) use ( $queryFlags ) {
return $this->loadSlotContent( $slot, null, null, null, $queryFlags );
};