Skip to content

Commit 9053ace

Browse files
Eliminate superfluous strval() calls
1 parent 387b451 commit 9053ace

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Framework/TestSuite.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
use const PHP_EOL;
1313
use function array_keys;
14-
use function array_map;
1514
use function array_merge;
1615
use function assert;
1716
use function call_user_func;
@@ -312,10 +311,7 @@ public function name(): string
312311
*/
313312
public function groups(): array
314313
{
315-
return array_map(
316-
'strval',
317-
array_keys($this->groups),
318-
);
314+
return array_keys($this->groups);
319315
}
320316

321317
/**

0 commit comments

Comments
 (0)