@@ -29,10 +29,8 @@ class IntlTestHelper
29
29
{
30
30
/**
31
31
* Should be called before tests that work fine with the stub implementation.
32
- *
33
- * @return void
34
32
*/
35
- public static function requireIntl (TestCase $ testCase , string $ minimumIcuVersion = null )
33
+ public static function requireIntl (TestCase $ testCase , string $ minimumIcuVersion = null ): void
36
34
{
37
35
$ minimumIcuVersion ??= Intl::getIcuStubVersion ();
38
36
@@ -63,10 +61,8 @@ public static function requireIntl(TestCase $testCase, string $minimumIcuVersion
63
61
/**
64
62
* Should be called before tests that require a feature-complete intl
65
63
* implementation.
66
- *
67
- * @return void
68
64
*/
69
- public static function requireFullIntl (TestCase $ testCase , string $ minimumIcuVersion = null )
65
+ public static function requireFullIntl (TestCase $ testCase , string $ minimumIcuVersion = null ): void
70
66
{
71
67
// We only run tests if the intl extension is loaded...
72
68
if (!Intl::isExtensionLoaded ()) {
@@ -85,10 +81,8 @@ public static function requireFullIntl(TestCase $testCase, string $minimumIcuVer
85
81
86
82
/**
87
83
* Skips the test unless the current system has a 32bit architecture.
88
- *
89
- * @return void
90
84
*/
91
- public static function require32Bit (TestCase $ testCase )
85
+ public static function require32Bit (TestCase $ testCase ): void
92
86
{
93
87
if (4 !== \PHP_INT_SIZE ) {
94
88
$ testCase ->markTestSkipped ('PHP 32 bit is required. ' );
@@ -97,10 +91,8 @@ public static function require32Bit(TestCase $testCase)
97
91
98
92
/**
99
93
* Skips the test unless the current system has a 64bit architecture.
100
- *
101
- * @return void
102
94
*/
103
- public static function require64Bit (TestCase $ testCase )
95
+ public static function require64Bit (TestCase $ testCase ): void
104
96
{
105
97
if (8 !== \PHP_INT_SIZE ) {
106
98
$ testCase ->markTestSkipped ('PHP 64 bit is required. ' );
0 commit comments