Skip to content

Commit e7a0a15

Browse files
Add union types
1 parent e3a3419 commit e7a0a15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Util/IntlTestHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class IntlTestHelper
3030
/**
3131
* Should be called before tests that work fine with the stub implementation.
3232
*/
33-
public static function requireIntl(TestCase $testCase, $minimumIcuVersion = null)
33+
public static function requireIntl(TestCase $testCase, string $minimumIcuVersion = null)
3434
{
3535
if (null === $minimumIcuVersion) {
3636
$minimumIcuVersion = Intl::getIcuStubVersion();
@@ -64,7 +64,7 @@ public static function requireIntl(TestCase $testCase, $minimumIcuVersion = null
6464
* Should be called before tests that require a feature-complete intl
6565
* implementation.
6666
*/
67-
public static function requireFullIntl(TestCase $testCase, $minimumIcuVersion = null)
67+
public static function requireFullIntl(TestCase $testCase, string $minimumIcuVersion = null)
6868
{
6969
// We only run tests if the intl extension is loaded...
7070
if (!Intl::isExtensionLoaded()) {

0 commit comments

Comments
 (0)