Issue #3105976 by Hardik_Patel_12, Kristen Pol, catch: Type hint "\Drupal\block\BlockInterface" missing for $entity