From d67466cfa749adaabdeda132c5eb07053ca76548 Mon Sep 17 00:00:00 2001 From: Dave Long <dave@longwaveconsulting.com> Date: Sun, 30 Apr 2023 19:18:33 +0100 Subject: [PATCH] Issue #3355139 by krystalcode: Method documented to raise error while it actually does not --- core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php b/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php index dab7aa7ca8cc..9a5d07943990 100644 --- a/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php +++ b/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php @@ -158,9 +158,6 @@ public function getBundleFromClass(string $class_name): ?string { * * @return string|null * The bundle or NULL if not set. - * - * @throws \Drupal\Core\Entity\EntityStorageException - * When a corresponding bundle cannot be found and is expected. */ protected function getBundleFromValues(array $values): ?string { $bundle = NULL; -- GitLab