Fixed 8.7.x compatibility where buildBlockEntity throws an error for the 2nd Parameter $entity which was typed as Drupal\Core\Entity\Entity before.
Fixed 8.7.x compatibility where buildBlockEntity throws an error for the 2nd Parameter $entity which was typed as Drupal\Core\Entity\Entity before.