Skip to content

Commit e27de55

Browse files
authored
Fix static test
1 parent 4fe8c7a commit e27de55

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

lib/internal/Magento/Framework/Stdlib/DateTime/Timezone.php

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -257,15 +257,7 @@ public function isScopeDateInInterval($scope, $dateFrom = null, $dateTo = null)
257257
}
258258

259259
/**
260-
* Format date according to date and time formats, locale, timezone and pattern
261-
*
262-
* @param string|\DateTimeInterface $date
263-
* @param int $dateType
264-
* @param int $timeType
265-
* @param string|null $locale
266-
* @param string|null $timezone
267-
* @param string|null $pattern
268-
* @return string
260+
* @inheritdoc
269261
*/
270262
public function formatDateTime(
271263
$date,
@@ -301,14 +293,7 @@ public function formatDateTime(
301293
}
302294

303295
/**
304-
* Convert date from config timezone to Utc.
305-
*
306-
* If pass \DateTime object as argument be sure that timezone is the same with config timezone
307-
*
308-
* @param string|\DateTimeInterface $date
309-
* @param string $format
310-
* @throws LocalizedException
311-
* @return string
296+
* @inheritdoc
312297
*/
313298
public function convertConfigTimeToUtc($date, $format = 'Y-m-d H:i:s')
314299
{

0 commit comments

Comments
 (0)