diff --git a/core/lib/Drupal/Core/Datetime/DateFormatter.php b/core/lib/Drupal/Core/Datetime/DateFormatter.php index 88cb4f7..4a8904a 100644 --- a/core/lib/Drupal/Core/Datetime/DateFormatter.php +++ b/core/lib/Drupal/Core/Datetime/DateFormatter.php @@ -228,9 +228,8 @@ public function getSampleDateFormats($langcode = NULL, $timestamp = NULL, $timez * The langcode of the language to use. * * @return string|null - * The pattern for the date format in the given language for - * non-custom formats, NULL otherwise. - * + * The pattern for the date format in the given language for non-custom + * formats, NULL otherwise. */ protected function dateFormat($format, $langcode) { if ($format == 'custom') { diff --git a/core/tests/Drupal/Tests/Core/Datetime/DateTest.php b/core/tests/Drupal/Tests/Core/Datetime/DateTest.php index 575af07..c717820 100644 --- a/core/tests/Drupal/Tests/Core/Datetime/DateTest.php +++ b/core/tests/Drupal/Tests/Core/Datetime/DateTest.php @@ -141,8 +141,8 @@ public function testGetSampleDateFormats() { $this->dateFormatter->setCountryCode('GB'); $expected = $this->dateFormatter->getSampleDateFormats('en', $ts, 'Europe/London'); - // Removed characters related to timezone 'e' and 'T', as test - // does not have timezone set. + // Removed characters related to timezone 'e' and 'T', as test does not have + // timezone set. $date_characters = 'dDjlNSwzWFmMntLoYyaABgGhHisuIOPZcrU'; $date_chars = str_split($date_characters);