diff --git a/core/lib/Drupal/Core/Datetime/DateFormatter.php b/core/lib/Drupal/Core/Datetime/DateFormatter.php index 31f85b5..60186fd 100644 --- a/core/lib/Drupal/Core/Datetime/DateFormatter.php +++ b/core/lib/Drupal/Core/Datetime/DateFormatter.php @@ -199,7 +199,7 @@ public function formatInterval($interval, $granularity = 2, $langcode = NULL) { * (optional) Language code of the date format, if different from the site * default language. * @param int|null $timestamp - * (optional) The Unix timestamp to format. REQUEST_TIME is used by default. + * (optional) The Unix timestamp to format. The request time is used by default. * @param string|null $timezone * (optional) The timezone to use, if different from the site's default * timezone. diff --git a/core/tests/Drupal/Tests/Core/Datetime/DateTest.php b/core/tests/Drupal/Tests/Core/Datetime/DateTest.php index ade7d6d..5f2165c 100644 --- a/core/tests/Drupal/Tests/Core/Datetime/DateTest.php +++ b/core/tests/Drupal/Tests/Core/Datetime/DateTest.php @@ -64,7 +64,7 @@ protected function setUp() { * * @dataProvider providerTestFormatInterval * - * @see \Drupal\Core\Datetime\DateFormatter::formatInterval() + * @covers \Drupal\Core\Datetime\DateFormatter::formatInterval() */ public function testFormatInterval($interval, $granularity, $expected, $langcode = NULL) { // Mocks a simple formatPlural implementation. @@ -138,7 +138,7 @@ public function testFormatIntervalZeroSecond() { /** * Tests the getSampleDateFormats method. * - * @see \Drupal\Core\Datetime\DateFormatter::getSampleDateFormats() + * @cover \Drupal\Core\Datetime\DateFormatter::getSampleDateFormats() */ public function testGetSampleDateFormats() { include_once $this->root . '/core/includes/common.inc';