Skip to content

Commit

Permalink
Eliminate superfluous strval() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jun 14, 2024
1 parent 387b451 commit 9053ace
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Framework/TestSuite.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

use const PHP_EOL;
use function array_keys;
use function array_map;
use function array_merge;
use function assert;
use function call_user_func;
Expand Down Expand Up @@ -312,10 +311,7 @@ public function name(): string
*/
public function groups(): array
{
return array_map(
'strval',
array_keys($this->groups),
);
return array_keys($this->groups);
}

/**
Expand Down

0 comments on commit 9053ace

Please sign in to comment.