Skip to content

Commit 9792737

Browse files
CS fix
1 parent cf40e74 commit 9792737

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

DateFormatter/IntlDateFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public function __construct(?string $locale, ?int $datetype, ?int $timetype, $ti
172172
* @throws MethodArgumentValueNotImplementedException When $locale different than "en" or null is passed
173173
* @throws MethodArgumentValueNotImplementedException When $calendar different than GREGORIAN is passed
174174
*/
175-
public static function create(?string $locale, ?int $datetype, ?int $timetype, $timezone = null, int $calendar = self::GREGORIAN, ?string $pattern = null)
175+
public static function create(?string $locale, ?int $datetype, ?int $timetype, $timezone = null, int $calendar = self::GREGORIAN, string $pattern = null)
176176
{
177177
return new static($locale, $datetype, $timetype, $timezone, $calendar, $pattern);
178178
}

Util/IcuVersion.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class IcuVersion
5050
*
5151
* @see normalize()
5252
*/
53-
public static function compare(string $version1, string $version2, string $operator, ?int $precision = null)
53+
public static function compare(string $version1, string $version2, string $operator, int $precision = null)
5454
{
5555
$version1 = self::normalize($version1, $precision);
5656
$version2 = self::normalize($version2, $precision);

Util/Version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class Version
4040
*
4141
* @see normalize()
4242
*/
43-
public static function compare(string $version1, string $version2, string $operator, ?int $precision = null)
43+
public static function compare(string $version1, string $version2, string $operator, int $precision = null)
4444
{
4545
$version1 = self::normalize($version1, $precision);
4646
$version2 = self::normalize($version2, $precision);

0 commit comments

Comments
 (0)