Skip to content

Commit

Permalink
Merge branch '3.x' into 4.x
Browse files Browse the repository at this point in the history
* 3.x:
  Make some CoreExtension methods part of the public API
  • Loading branch information
fabpot committed May 1, 2024
2 parents 3d99ed8 + e5269cb commit d425c11
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Extension/CoreExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,6 @@ public static function random(string $charset, $values = null, $max = null)
* @param \DateTimeInterface|\DateInterval|string $date A date
* @param string|null $format The target format, null to use the default
* @param \DateTimeZone|string|false|null $timezone The target timezone, null to use the default, false to leave unchanged
*
* @internal
*/
public function formatDate($date, $format = null, $timezone = null): string
{
Expand Down Expand Up @@ -475,8 +473,6 @@ public static function dateConverter(Environment $env, $date, $format = null, $t
*
* @param \DateTimeInterface|string|null $date A date or null to use the current time
* @param \DateTimeZone|string|false|null $timezone The target timezone, null to use the default, false to leave unchanged
*
* @internal
*/
public function convertDate($date = null, $timezone = null): \DateTimeImmutable
{
Expand Down Expand Up @@ -580,8 +576,6 @@ public static function round($value, $precision = 0, $method = 'common')
* @param int|null $decimal the number of decimal points to display
* @param string|null $decimalPoint the character(s) to use for the decimal point
* @param string|null $thousandSep the character(s) to use for the thousands separator
*
* @internal
*/
public function formatNumber($number, $decimal = null, $decimalPoint = null, $thousandSep = null): string
{
Expand Down

0 comments on commit d425c11

Please sign in to comment.