Skip to content

Commit dcb9cd4

Browse files
committed
Some of them a truly pure, related WI-63041
1 parent 7d9296b commit dcb9cd4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

date/date.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ function timezone_open(string $timezone): DateTimeZone|false {}
12201220
* {@see DateTimeZone} for which to get a name.</p>
12211221
* @return string One of the timezone names in the list of timezones.
12221222
*/
1223-
#[Pure(true)]
1223+
#[Pure]
12241224
function timezone_name_get(DateTimeZone $object): string {}
12251225

12261226
/**
@@ -1307,7 +1307,7 @@ function timezone_identifiers_list(int $timezoneGroup = DateTimeZone::ALL, ?stri
13071307
* @link https://php.net/manual/en/function.timezone-abbreviations-list.php
13081308
* @return array|false Array on success or <b>FALSE</b> on failure.
13091309
*/
1310-
#[Pure(true)]
1310+
#[Pure]
13111311
#[LanguageLevelTypeAware(["8.0" => "array"], default: "array|false")]
13121312
function timezone_abbreviations_list() {}
13131313

@@ -1316,7 +1316,7 @@ function timezone_abbreviations_list() {}
13161316
* @link https://php.net/manual/en/function.timezone-version-get.php
13171317
* @return string a string.
13181318
*/
1319-
#[Pure(true)]
1319+
#[Pure]
13201320
function timezone_version_get(): string {}
13211321

13221322
/**
@@ -1363,7 +1363,7 @@ function date_default_timezone_set(string $timezoneId): bool {}
13631363
* @link https://php.net/manual/en/function.date-default-timezone-get.php
13641364
* @return string a string.
13651365
*/
1366-
#[Pure(true)]
1366+
#[Pure]
13671367
function date_default_timezone_get(): string {}
13681368

13691369
/**

0 commit comments

Comments
 (0)