diff --git a/core/modules/settings_tray/settings_tray.module b/core/modules/settings_tray/settings_tray.module index 0f3c3a262d97dd9de13df80e6610383262323add..ec276f3b38b645d8d01382f8878cb27ea3359a35 100644 --- a/core/modules/settings_tray/settings_tray.module +++ b/core/modules/settings_tray/settings_tray.module @@ -9,7 +9,7 @@ use Drupal\Core\Asset\AttachedAssetsInterface; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\Language\LanguageInterface; -use Drupal\block\entity\Block; +use Drupal\block\Entity\Block; use Drupal\block\BlockInterface; use Drupal\settings_tray\Block\BlockEntitySettingTrayForm; diff --git a/core/phpstan-baseline.neon b/core/phpstan-baseline.neon index daa99e8c091f008b7b1fcc6bef366795a2456b39..3f80f62634e35bcbed2f7f9ac9995424775ab157 100644 --- a/core/phpstan-baseline.neon +++ b/core/phpstan-baseline.neon @@ -2305,11 +2305,6 @@ parameters: count: 1 path: modules/serialization/tests/src/Unit/Normalizer/TypedDataNormalizerTest.php - - - message: "#^Class Drupal\\\\block\\\\Entity\\\\Block referenced with incorrect case\\: Drupal\\\\block\\\\entity\\\\Block\\.$#" - count: 2 - path: modules/settings_tray/settings_tray.module - - message: "#^Method Drupal\\\\shortcut\\\\Form\\\\SetCustomize\\:\\:save\\(\\) should return int but return statement is missing\\.$#" count: 1