aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/NaturalSortTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/NaturalSortTest.php')
-rw-r--r--tests/lib/NaturalSortTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/NaturalSortTest.php b/tests/lib/NaturalSortTest.php
index a053687eaf9..3a07c5ceb66 100644
--- a/tests/lib/NaturalSortTest.php
+++ b/tests/lib/NaturalSortTest.php
@@ -11,7 +11,7 @@ class NaturalSortTest extends \Test\TestCase {
/**
* @dataProvider naturalSortDataProvider
*/
- public function testNaturalSortCompare($array, $sorted) {
+ public function testNaturalSortCompare($array, $sorted): void {
if (!class_exists('Collator')) {
$this->markTestSkipped('The intl module is not available, natural sorting might not work as expected.');
return;
@@ -24,7 +24,7 @@ class NaturalSortTest extends \Test\TestCase {
/**
* @dataProvider defaultCollatorDataProvider
*/
- public function testDefaultCollatorCompare($array, $sorted) {
+ public function testDefaultCollatorCompare($array, $sorted): void {
$comparator = new \OC\NaturalSort(new \OC\NaturalSort_DefaultCollator());
usort($array, [$comparator, 'compare']);
$this->assertEquals($sorted, $array);