diff --git a/core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php b/core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php index a92e779..0ed6b71 100644 --- a/core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php @@ -28,8 +28,7 @@ public function getTargetType(); * @param string $target_entity_type * The target entity type for this display mode. * - * @return \Drupal\Core\Entity\EntityDisplayModeInterface - * The display mode object, for fluent interface. + * @return $this */ public function setTargetType($target_entity_type); } diff --git a/core/modules/system/src/Tests/DrupalKernel/DrupalKernelTest.php b/core/modules/system/src/Tests/DrupalKernel/DrupalKernelTest.php index 3cb254d..ab6c224 100644 --- a/core/modules/system/src/Tests/DrupalKernel/DrupalKernelTest.php +++ b/core/modules/system/src/Tests/DrupalKernel/DrupalKernelTest.php @@ -57,7 +57,9 @@ protected function prepareConfigDirectories() { * A list of modules to enable on the kernel. * @param bool $read_only * Build the kernel in a read only state. + * * @return \Drupal\Core\DrupalKernel + * New kernel for testing. */ protected function getTestKernel(Request $request, array $modules_enabled = NULL, $read_only = FALSE) { // Manually create kernel to avoid replacing settings.