From e9d6bd79a2dd5f2595da6d946488585099613a2a Mon Sep 17 00:00:00 2001 From: xjm Date: Thu, 23 Apr 2015 20:26:52 -0500 Subject: [PATCH] Issue #2472453 by googletorp, jhodgdon: Use full namespace for @return documentation --- core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php | 3 +-- .../system/src/Tests/DrupalKernel/DrupalKernelTest.php | 4 +++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php b/core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php index e8ad7da60d3..0ed6b7143cf 100644 --- a/core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php +++ b/core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php @@ -28,8 +28,7 @@ interface EntityDisplayModeInterface extends ConfigEntityInterface { * @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 070e9901b80..ab6c224952d 100644 --- a/core/modules/system/src/Tests/DrupalKernel/DrupalKernelTest.php +++ b/core/modules/system/src/Tests/DrupalKernel/DrupalKernelTest.php @@ -57,7 +57,9 @@ class DrupalKernelTest extends KernelTestBase { * A list of modules to enable on the kernel. * @param bool $read_only * Build the kernel in a read only state. - * @return DrupalKernel + * + * @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.